-
-
Notifications
You must be signed in to change notification settings - Fork 27k
'Npm start' fails on react-scripts-start initial attempt #3690
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
Comments
@Timer Any ideas? |
It looks like a Node bug on this specific users configuration, but we should probably make our fork of |
Just FYI: ran into the same just now, and my debug log is almost verbatim what is reported above. Node version 8.9.4, npm 5.6.0, running on linux. When I ran an |
For the original issue, this looks related: microsoft/WSL#468 Apparently fixed in this update: https://blogs.msdn.microsoft.com/commandline/2017/04/11/windows-10-creators-update-whats-new-in-bashwsl-windows-console/. I don't know why a similar problem exists on Linux (per #3690 (comment)), but per the same report removing I don’t think there’s anything that needs to be done on our side. |
Okay, let's keep it open to add basic error handling. I think this is all we need: - listen(port, address.ip(), (err, realPort) => {
+ let ip;
+ try {
+ ip = address.ip();
+ } catch (err) {
+ return handleError(err);
+ }
+
+ listen(port, ip, (err, realPort) => { While we're there, let's also figure out if we should cherry-pick node-modules/detect-port#26 into our fork. |
Fixed via #3787 |
Ran into the same just now, and my debug log is almost verbatim what is reported above. Node version 8.9.4, npm 5.7.1, running on linux mint 18.1. Deleting node_modules and running npm install fetched them for me, but issue still persists. Please help. |
Please file a new issue if you're experiencing problems. |
ISSUE
npm start is failing to work with create-react-app after initial 'create-react-app my-app' install. Complete output log is below.
I get similar output when trying to run another create-react-app that I copied in from another machine.
I initially tried this with node v8.9.4 and npm v5.6.0 and got the errors below.
I then installed a different node version using 'npm install -g npm@4', removed node_modules, cleared the cache, and ran another 'npm install'.
I then tried npm start with node v8.9.4 and npm v4.6.1, and got the same errors.
I searched for 'Exit status' and 'react-scripts start' in the documentation but didn't come up with anything.
running 'npm ls react-scripts' yields ' '[email protected] '
I'm using bash shell on Windows 10, and the latest version of Google Chrome.
INITIAL OUTPUT:
DEBUG LOG
The text was updated successfully, but these errors were encountered: