Mair/esp32-course

no build folder even with the updated svelte.config.js provided here

Opened this issue · 0 comments

I have this same issue of no '/build' folder and a failed run of

npm run build

with the svelte.config.js file that was updated last year.

PS C:\Users\pkose\esp-workspace\svelte_example\site> npm run build

site@0.0.1 build
svelte-kit sync && svelte-package

Unexpected option config.kit.prerender.default
at file:///C:/Users/pkose/esp-workspace/svelte_example/site/node_modules/@sveltejs/kit/src/core/config/options.js:279:12
at file:///C:/Users/pkose/esp-workspace/svelte_example/site/node_modules/@sveltejs/kit/src/core/config/options.js:286:18
at file:///C:/Users/pkose/esp-workspace/svelte_example/site/node_modules/@sveltejs/kit/src/core/config/options.js:286:18
at validate_config (file:///C:/Users/pkose/esp-workspace/svelte_example/site/node_modules/@sveltejs/kit/src/core/config/index.js:108:9)
at process_config (file:///C:/Users/pkose/esp-workspace/svelte_example/site/node_modules/@sveltejs/kit/src/core/config/index.js:80:20)
at load_config (file:///C:/Users/pkose/esp-workspace/svelte_example/site/node_modules/@sveltejs/kit/src/core/config/index.js:72:9)
at async file:///C:/Users/pkose/esp-workspace/svelte_example/site/node_modules/@sveltejs/kit/src/cli.js:36:19

I have cut and pasted the svelte.config.js file provided last April.

I appreciate all that I have learned in the course, but am unable to make progress past this point in this chapter.

Thank you

Peter