Next.js Discord

Discord Forum

Failed to load SWC binary for win32/ia32

Answered
Cape lion posted this in #help-forum
Open in Discord
Cape lionOP
I am facing above issue when trying to start development server i have already tried
https://stackoverflow.com/questions/69816589/next-failed-to-load-swc-binary and
https://github.com/vercel/next.js/issues/35614
Answered by Cape lion
okay i have fixed the issue i didn't install anything what i have did is i move my code inside my ssd that is c drive where my window is installed and application is running fine
View full answer

45 Replies

If the issue still isn't resolved, and you're sure it is a bug. Create a issue on github.
@Anay-208 In your file system, this file isn't here make a .babelrc and put this json { "presets": ["next/babel"] }
Cape lionOP
So i need to create it in root of my nextjs project where .env and package lock.json is present?
Cape lionOP
@Anay-208 check this out please issue is still there
@Cape lion <@755810867878297610> check this out please issue is still there
Try this bash command:
npm i -g npm@latest
Cape lionOP
@Cape lion Click to see attachment
add this line to next.config.js:
swcMinify: false
wait
try setting it to false then true
do you have Microsoft Visual C++ Redistributable installed?
also, here's the link to possible solutions: https://nextjs.org/docs/messages/failed-loading-swc
Cape lionOP
@Ray do you have Microsoft Visual C++ Redistributable installed?
Cape lionOP
yup i have installed that already
@Ray do you have Microsoft Visual C++ Redistributable installed?
Cape lionOP
check this
i did repair i did uninstall and restart still nothing works
do the following @Cape lion :
remove file: "package-lock.json"
remove directory: "node-modules"
run "npm install" under "Power shell" ( not git bash)
Cape lionOP
okay
Cape lionOP
did it
i did reinstall the node module using SHELL doesn't work
swcminify true and false doesn;'t work @Anay-208
@Cape lion mark the above message as an solution
Cape lionOP
Problem is not solved
@Cape lion Problem is not solved
You’re just gonna have to report this issue, if you’ve reported, send the issue link
Cape lionOP
okay i have fixed the issue i didn't install anything what i have did is i move my code inside my ssd that is c drive where my window is installed and application is running fine
Answer
American black bear
Noice
Cape lionOP
now it look like the issue is there for hdd drive that i seprately use for storing codebase
lol it look like a path issue
American black bear
Oh, IG you can mark your own message as solution
@American black bear Oh, IG you can mark your own message as solution
Cape lionOP
this is not a solution lol
@Cape lion this is not a solution lol
American black bear
Since you said it's a path issue it self, I don't find any other possible solutions in this convo
Cape lionOP
need a solution if it works in c drive by just installing c++ redistributable then it should work on other drive as well
@American black bear Since you said it's a path issue it self, I don't find any other possible solutions in this convo
Cape lionOP
its look like a path issue lol , as there is no other logic left ,it's more like the code run on my pc but not on yours
@Anay-208 Got it. mark this message as a solution
Cape lionOP
i did mark is as solution but would you tell me any way to fix , i can't put everything in my ssd drive
@Cape lion i did mark is as solution but would you tell me any way to fix , i can't put everything in my ssd drive
Sure, the question is why do you want it in your hdd drive?
@Anay-208 Sure, the question is why do you want it in your hdd drive?
Cape lionOP
my partition is simple , i have 2 drive 1 SSD that i mainly reserved for software installation and window , HDD would be my drive where i put code and other stuffs there
@Cape lion my partition is simple , i have 2 drive 1 SSD that i mainly reserved for software installation and window , HDD would be my drive where i put code and other stuffs there
why would you put code in hdd. Well, its your personal preference. So, there must be problems with the installion in hdd
Cape lionOP
anyways let see i have commented this on github issue
Cape lionOP
@Anay-208 working fine on hdd as well now lol
:noice: