Module not found `child_process`
See original GitHub issueHi! I’m getting this error at build time (react project)
./node_modules/google-auth-library/build/src/auth/googleauth.js
Module not found: Can't resolve 'child_process' in ...
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Module not found: Error can't resolve 'child_process', how to fix?
But as soon as I try to use child process, using 'require("child_process")' I get the following error when trying to build the extension....
Read more >Module not found: Can't resolve 'child_process' #192 - GitHub
error whenever I try to use node-notifier. I'm using Node v6.11.2 and the code is copy-paste from the examples. Any ideas?
Read more >cannot find module 'child_process' or its corresponding type ...
To fix the error "cannot find module 'childprocess' or its corresponding type declarations", you need to install the types for the childprocess module...
Read more >Module not found: Error can't resolve in react - YouTube
The following issues are handled:1. Module not found : Error can't resolve ' child_process '2. Uncaught ReferenceError: the process is not ...
Read more >Node.js Child Process - GeeksforGeeks
Node.js is a JavaScript runtime that offers a variety of modules to work with ... The shell option is not supported by child_process.fork()....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@wahyupriadi Do you use Next.JS API Routes? here the example:
after create function in API routes, you can do ajax request using Axios or Fetch to your API Route in your component example
Looks to be related to this? https://github.com/googleapis/google-auth-library-nodejs/pull/371 Hopefully upgrading the google auth library will fix it.
I’ll try to get to it soon!