You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Can you reproduce the problem with latest npm?
Yes.
Description
Note that this problem only happens with the latest npm, 7.7.2 . I have checked on 7.5.0 or 5.12.0 and the issue does not happen; create-react-app runs as expected on those older versions of node.
A freshly created create-react-app does not run in response to the yarnpkg start or npm start commands. Instead,
Expected behavior
Tell us what you think should happen.
Actual behavior
aaron@kubuntu1604:~/cratest$ npm start
> [email protected] start /home/aaron/cratest
> react-scripts start
(node:10728) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: "listener" argument must be a function
(node:10728) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
aaron@kubuntu1604:~/cratest$
Then, pointing a browser to localhost:3000 gives ERR_CONNECTION_REFUSED.
If I downgrade my node version to 7.5.0, then I get a message saying "Compiled successfully!" and a browser opens.
Environment
Run these commands in the project folder and fill in their results:
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Can you reproduce the problem with latest npm?
Yes.
Description
Note that this problem only happens with the latest npm, 7.7.2 . I have checked on 7.5.0 or 5.12.0 and the issue does not happen; create-react-app runs as expected on those older versions of node.
A freshly created create-react-app does not run in response to the
yarnpkg start
ornpm start
commands. Instead,Expected behavior
Tell us what you think should happen.
Actual behavior
Then, pointing a browser to localhost:3000 gives ERR_CONNECTION_REFUSED.
If I downgrade my node version to 7.5.0, then I get a message saying "Compiled successfully!" and a browser opens.
Environment
Run these commands in the project folder and fill in their results:
npm ls react-scripts
(if you haven’t ejected):node -v
: v7.7.2npm -v
: 4.3.0Then, specify:
The text was updated successfully, but these errors were encountered: