run error
Unanswered
Blanc de Hotot posted this in #help-forum
Blanc de HototOP
Attempted to load @next/swc-win32-x64-msvc, but an error occurred: \?\E:\code\collab\node_modules@next\swc-win32-x64-msvc\next-swc.win32-x64-msvc.node is not a valid Win32 application.
\?\E:\code\collab\node_modules@next\swc-win32-x64-msvc\next-swc.win32-x64-msvc.node
⨯ Failed to load SWC binary for win32/x64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc
\?\E:\code\collab\node_modules@next\swc-win32-x64-msvc\next-swc.win32-x64-msvc.node
⨯ Failed to load SWC binary for win32/x64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc
18 Replies
@Blanc de Hotot Attempted to load @next/swc-win32-x64-msvc, but an error occurred: \\?\E:\code\collab\node_modules\@next\swc-win32-x64-msvc\next-swc.win32-x64-msvc.node is not a valid Win32 application.
\\?\E:\code\collab\node_modules\@next\swc-win32-x64-msvc\next-swc.win32-x64-msvc.node
⨯ Failed to load SWC binary for win32/x64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc
have you installed Microsoft Visual C++ Redistributable?
@Ray have you installed Microsoft Visual C++ Redistributable?
Blanc de HototOP
yes
@Blanc de Hotot yes
node -p "process.arch"make sure you have node 64bit installed
Blanc de HototOP
@Ray
@Blanc de Hotot <@743561772069421169>
try
npx create-next-app@latest on a new project@Blanc de Hotot <@743561772069421169>
or try
npm i --force firstBlanc de HototOP
i have to delete this one ?
@Blanc de Hotot i have to delete this one ?
try
npm i --force on this firstBlanc de HototOP
not working
@Blanc de Hotot not working
oh then try
npx create-next-app@latest on a new projectBlanc de HototOP
new one is working
@Blanc de Hotot new one is working
now try again in old one
Blanc de HototOP
its was a brand new project without any changes so i deleted that one
Blanc de HototOP
i have a script that changes bg,
im loading it via next/script
it sometimes load the script sometimes not
im loading it via next/script
<Script src="" onLoad={() => {
<bgChanger>.change({
id: "#main"
})
}}it sometimes load the script sometimes not
i have to refresh multiple times
the tag is in [id].js file under pages
Blanc de HototOP
@Ray sorry for pinging