-
Notifications
You must be signed in to change notification settings - Fork 26.1k
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
Module not found from fresh install #36939
Comments
Ok, so I investigated a little more and this error occurs if I have folder
but when the folder is
it works fine. In the first case, it cannot resolve the path
For some reason there is a missing slash in workspace and foo! |
Hello, I had the same problem and I confirm this can occur because of folder names. Working at - D:\Programmation\Udemy\nextjs\cours-nextjs |
it looks like duplicate of #36078 |
Looks like this also occurs when the drive is a network share. similar behavior where npm is unable to find amp-dev causing the build to fail. My directories did not have ud in the name which is what #36078 seems to apply to. I think there is a much bigger problem here then just directory names. |
Hi everyone, I was not able to replicate this in the latest, and it is unlikely this is still an issue. I will be closing this issue in the meantime! |
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Freshly installed Next.js app throws error MODULE_NOT_FOUND
Expected Behavior
The application works
To Reproduce
npx create-next-app@latest
The text was updated successfully, but these errors were encountered: