Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run dev fails #1

Open
ghost opened this issue Feb 27, 2022 · 0 comments
Open

npm run dev fails #1

ghost opened this issue Feb 27, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented 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)

@ghost ghost changed the title npm run build fails npm run dev fails Feb 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants