Search code examples
node.jsdllnext.js13swc-compiler

load @next/swc-win32-ia32-msvc, but an error occurred: a dynamic link library (dll) initialization routine failed


After running

npm run dev`

(nextjs app)

the result was this

▲ Next.js 14.0.3

  • Local: http://localhost:3000

⚠ Attempted to load @next/swc-win32-ia32-msvc, but an error occurred: A dynamic link library (DLL) initialization routine failed.

...\node_modules@next\swc-win32-ia32-msvc\next-swc.win32-ia32-msvc.node⨯ Failed to load SWC binary for win32/ia32, see more info here: https://nextjs.org/docs/messages/failed-loading-swc

how to solve this issue


Solution

  • I solved this by re-installing node x64 instead of x84. mistakenly I have not installed the compatible node version