Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A dynamic link library (DLL) initialization routine failed. #1144

Open
kumargauravin opened this issue May 13, 2024 · 0 comments
Open

A dynamic link library (DLL) initialization routine failed. #1144

kumargauravin opened this issue May 13, 2024 · 0 comments

Comments

@kumargauravin
Copy link

Bug

What is the current behavior?
while running nextjs build next build command, facing following error:-
[�[1;34mINFO�[m] Creating an optimized production build ...
[�[1;34mINFO�[m] ⚠ Attempted to load @next/swc-win32-ia32-msvc, but an error occurred: A dynamic link library (DLL) initialization routine failed.
[�[1;34mINFO�[m] \?\C:\Users\gauku9e\Work\sor-nbs-recon-dashboard-service-ui\node_modules@next\swc-win32-ia32-msvc\next-swc.win32-ia32-msvc.node
[�[1;34mINFO�[m] ⨯ Failed to load SWC binary for win32/ia32, see more info here: https://nextjs.org/docs/messages/failed-loading-swc
[�[1;34mINFO�[m] �[1m------------------------------------------------------------------------�[m
[�[1;34mINFO�[m] �[1;31mBUILD FAILURE�[m
[�[1;34mINFO�[m] �[1m------------------------------------------------------------------------�[m
[�[1;34mINFO�[m] Total time: 31.283 s
[�[1;34mINFO�[m] Finished at: 2024-05-13T04:36:11-04:00
[�[1;34mINFO�[m] �[1m------------------------------------------------------------------------�[m
[�[1;31mERROR�[m] Failed to execute goal �[32mcom.github.eirslett:frontend-maven-plugin:1.15.0:npm�[m �[1m(npm run build)�[m on project �[36mnextjs-app�[m: �[1;31mFailed to run task�[m: 'npm run build --debug --https-proxy=http://proxy.ebiz.verizon.com:80 --proxy=http://proxy.ebiz.verizon.com:80 --noproxy=127.0.0.1 --noproxy=.verizon.com' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: -1073741819 (Exit value: -1073741819) -> �[1m[Help 1]�[m
[�[1;31mERROR�[m]

What is the expected behavior?
Build should pass and should allow to install the SWC library which is not part of package.json file.

Please mention your frontend-maven-plugin and operating system version.
LATEST_VERSION

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant