-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Error in ./~/xmlhttprequest/lib/XMLHttpRequest.js Module not found: 'child_process' #3166
Comments
Looks like you've linked something inside of src/. If you remove the symlink does it work? |
Or you're depending on a package not in your package.json, maybe. |
Turned out it is an issue of the D3.js dependency's latest version, it breaks webpack d3/d3-request#24 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is probably not a problem with create-react-app, but it concerns webpack config and I want to avoid ejecting.
I encountered a major regression in the repository: so far everything was good, now npm start fails after a clean install, on every branch, at every user, every environment (windows-macOS local, jenkins, cloud linux), even after npm cache clear, and even going back any commits (git checkout HEAD~50), so I guess it might be some npm cache problem.
XMLHttpRequest.js:15 Uncaught Error: Cannot find module "child_process"
at webpackMissingModule (XMLHttpRequest.js:15)
at Object. (XMLHttpRequest.js:15)
at Object. (XMLHttpRequest.js:622)
at webpack_require (bootstrap 1320dbefa72299f3002b:555)
at fn (bootstrap 1320dbefa72299f3002b:86)
at Object. (d3-request.node.js:3)
at webpack_require (bootstrap 1320dbefa72299f3002b:555)
at fn (bootstrap 1320dbefa72299f3002b:86)
at Object. (d3.node.js:25)
at webpack_require (bootstrap 1320dbefa72299f3002b:555)
Error in ./
/xmlhttprequest/lib/XMLHttpRequest.js/xmlhttprequest/lib/XMLHttpRequest.js 15:12-36Module not found: 'child_process' in /Users/.../node_modules/xmlhttprequest/lib
@ ./
npm v5.3.0
node v8.4.0
react-scripts v0.8.4
Anyone any ideas?
The text was updated successfully, but these errors were encountered: