-
Notifications
You must be signed in to change notification settings - Fork 331
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 does not run, shows this error #5515
Comments
I'm not sure if it's because your working directory path has spaces in it. I don't have a windows machine to test it. Could you retry in a working directory without spaces in the path? @skks1212 any idea? |
@SaiRev0 can you check if your project folder name contains spaces? If so, please remove the spaces and try again. Reference: https://stackoverflow.com/a/73204282 |
@rithviknishad I had the same issue, moving the repo to a directory with no spaces helped me solve it. |
@divyanshkhetan @rithviknishad I have the project in a directory whose name has no spaces. Still it is not working. Could you help? |
Did you run |
@SaiRev0 @MayaSatishRao it's recommended to use a unix environment for developing care. |
@rithviknishad I did. Do I need wsl as recommended by @sainak ? |
It's best if you could do it in WSL |
ok |
Thanks a lot for sharing, I m having a dual boot setup so I can directly work on Ubuntu |
I got the project running in my system and here is what I did:
I updated the node version because I found this: https://github.com/vitejs/vite/issues/9113#issuecomment-1184319357 |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behaviour:
I ran
npm install --legacy-peer-deps
Then run
npm run dev
It shows this error
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Using vs-code and GitBash Terminal
The text was updated successfully, but these errors were encountered: