Failed to load SWC binary for win32/x64
See original GitHub issueVerify canary release
- I verified that the issue exists in Next.js canary release
Provide environment information
Operating System: Platform: win32 Arch: x64 Version: Windows 10 Home Binaries: Node: 16.14.2 npm: 8.5.0 Yarn: 1.22.18 pnpm: N/A Relevant packages: next: 12.1.0 react: 17.0.2 react-dom: 17.0.2
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
After “Automatic Setup” installation, when i try to run npm run dev i received this message:
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Attempted to load @next/swc-win32-x64-gnu, but it was not installed
info - Attempted to load @next/swc-win32-x64-msvc, but an error occurred: The specified module could not be found.
\\?\C:\Users\Acer\Desktop\GitHub\personal_website\node_modules\@next\swc-win32-x64-msvc\next-swc.win32-x64-msvc.node
error - Failed to load SWC binary for win32/x64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc
The terminal process "C:\Windows\System32\cmd.exe /d /c npm run dev" terminated with exit code: 1.
Expected Behavior
Just working
To Reproduce
npx create-next-app@latest
# or
yarn create next-app
npm run dev
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Next failed to load SWC binary - Stack Overflow
When trying to run the command using nextjs npm run dev shows error - failed to load SWC binary see more info here: ......
Read more >failed-loading-swc - Next.js
SWC requires a binary be downloaded that is compatible specific to your system. In some cases this binary may fail to load either...
Read more >How to fix failed to load SWC binary NextJS - Tutorial + Tips
How to fix failed to load SWC binary NextJS ; Remove node_modules directory and package-lock.json; Run npm i to install the dependecncies ;...
Read more >@swc/core-win32-x64-msvc - npm
Start using @swc/core-win32-x64-msvc in your project by running `npm i ... This is the x86_64-pc-windows-msvc binary for @swc/core ...
Read more >SWC failed loading - Ethereum Stack Exchange
i tried "npm run dev" in my command but it kept showing this error: Failed to load SWC binary for win32/x64 it is...
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
Check out here https://github.com/vercel/next.js/discussions/31073#discussioncomment-2166074
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.