question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module not found: Can't resolve 'child_process'

See original GitHub issue

I’m getting

./~/node-notifier/lib/utils.js
Module not found: Can't resolve 'child_process' in '[project_dir]\node_modules\node-notifier\lib'

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? I tried manually instaling the dependencies, because I noticed they’re not installed, but it didn’t help.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

95reactions
Asma-Projectscommented, Apr 18, 2018

just put in package.json “browser”:{ “child_process”: false }

7reactions
worthy7commented, Mar 4, 2019

Yep, same here. I was import { EventEmitter } from 'selenium-webdriver'; Instead from from @angular/core

Read more comments on GitHub >

github_iconTop 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' error [Solved]
The error "Module not found: Error: Can't resolve 'child_process'" occurs because there has been a breaking change in Webpack version 5. To solve...
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 >
Python-shell and child_process module not found errors with ...
Hi all, running into some quite frustrating module issues when trying to build a jupyter lab extension I'm working on.
Read more >
Can't Resolve "child_process" in module xmlhttprequest-node.js
Since the xmlhttprequest package only works on NodeJS, you are receiving the error that child_process does not exist, because it does not exist...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found