next build command throws 'child_process' error and stops execution #15410
Unanswered
harshdoshi999
asked this question in
Help
Replies: 1 comment
-
Hi @harshdoshi999. It sounds like those packages are meant to be run in a Node environment. Could you create a repository that recreates this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
next build command throws 'child_process' error and stops execution
Describe the bug
I'm using next v9.4.4
When I try to run next build, it throws child_process error and stops execution.
Exact error:
Module not found: Can't resolve 'child_process' in '\node_modules\google-auth-library\build\src\auth'.
If I remove google-auth-library module then same error shows for node-mailer module
System information
Additional context
However nodemon server/app.js works fine but next build does not work
Beta Was this translation helpful? Give feedback.
All reactions