Next build does not work on macOS
See original GitHub issueWhat version of Next.js are you using?
11.1.3-canary.15
What version of Node.js are you using?
12,14,16
What browser are you using?
Brave
What operating system are you using?
macOs
How are you deploying your application?
Vercel
Describe the Bug
When every i try to build or try to run my project it breaks immediately giving me this error
`ode:internal/modules/cjs/loader:940 const err = new Error(message); ^
Error: Cannot find module ‘./blocks/images’ Require stack:`
and when i see the path it tells that has the missing thing it does miss it it is in node_modules/next/dist/build/webpack/config/
P.S there is an important thing the project was okay in 11.1.3-canary.7 nothing was wrong if that helps
Expected Behavior
my project should run normally
To Reproduce
update to the latest beta and try to build or run the project
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
NextJS not running on MacOS even after installing modules
It seems like npm is not detecting the node_modules i have installed. Not sure if this is a mac or a zsh issue....
Read more >Site only builds a 404 page on Mac but works fine on Windows
I first ran npm run dev and loaded up localhost:3000 to find the Next.js generic 404 page. All other pages did the same....
Read more >Build and Deploy a Full Stack App From scratch - YouTube
In this Next.js course for beginners, you will learn how to build a full-stack App from scratch. ... Your browser can't play this...
Read more >Advanced Features: Debugging - Next.js
Next, open Chrome's Developer Tools ( Ctrl + Shift + J on Windows/Linux, ⌥ + ⌘ + I on macOS), then go to...
Read more >How to get next.js and vercel to work on M1 mac
I'm building my blog website using next.js and vercel. Today, I was working on an M1 MacBook Air and I got the following...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@maxsteenbergen can you delete all .lock files and node_mouldes then try running it with npm only
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.