Preview Server Required

To export from the dev server, the preview server needs to be running.

Run this command in a separate terminal:

npm run build:all && npm run preview

Or use the combined command:

npm run dev:all

Then try exporting again.