You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I start with a clean project. I run npm install and then npm run dev and get the following error:
failed to load config from /mnt/c/Users/cpq/Documents/che/vite.config.ts
error when starting dev server:
TypeError: svelte is not a function
at /mnt/c/Users/cpq/Documents/che/vite.config.ts:21:15
at loadConfigFromFile (/mnt/c/Users/cpq/Documents/che/node_modules/vite/dist/node/chunks/dep-971d9e33.js:71324:15)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async resolveConfig (/mnt/c/Users/cpq/Documents/che/node_modules/vite/dist/node/chunks/dep-971d9e33.js:70850:28)
at async createServer (/mnt/c/Users/cpq/Documents/che/node_modules/vite/dist/node/chunks/dep-971d9e33.js:56409:20)
at async CAC. (/mnt/c/Users/cpq/Documents/che/node_modules/vite/dist/node/cli.js:688:24)
The text was updated successfully, but these errors were encountered:
ghost
changed the title
npm run build fails
npm run dev fails
Feb 27, 2022
I start with a clean project. I run npm install and then npm run dev and get the following error:
failed to load config from /mnt/c/Users/cpq/Documents/che/vite.config.ts
error when starting dev server:
TypeError: svelte is not a function
at /mnt/c/Users/cpq/Documents/che/vite.config.ts:21:15
at loadConfigFromFile (/mnt/c/Users/cpq/Documents/che/node_modules/vite/dist/node/chunks/dep-971d9e33.js:71324:15)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async resolveConfig (/mnt/c/Users/cpq/Documents/che/node_modules/vite/dist/node/chunks/dep-971d9e33.js:70850:28)
at async createServer (/mnt/c/Users/cpq/Documents/che/node_modules/vite/dist/node/chunks/dep-971d9e33.js:56409:20)
at async CAC. (/mnt/c/Users/cpq/Documents/che/node_modules/vite/dist/node/cli.js:688:24)
The text was updated successfully, but these errors were encountered: