Skip to content
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 message when running create-react-app #2341

Closed
Hy-light opened this issue Dec 13, 2020 · 6 comments
Closed

Error message when running create-react-app #2341

Hy-light opened this issue Dec 13, 2020 · 6 comments
Labels
platform:windows is Windows-specific Release 7.x work is associated with a specific npm 7 release

Comments

@Hy-light
Copy link

I get this error anytime i run "npx create-react-app my-app"

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://github.com/npm/cli/issues

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Walter\AppData\Local\npm-cache_logs\2020-12-13T22_24_53_249Z-debug.log

Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Screenshot (12)

@ljharb
Copy link
Contributor

ljharb commented Dec 13, 2020

What version of node/npm?

@Hy-light
Copy link
Author

What version of node/npm?

v15.2.0/v7.0.8 respectively

@ljharb
Copy link
Contributor

ljharb commented Dec 13, 2020

Can you also try npm v7.1.2?

@ljharb ljharb added Needs Triage needs review for next steps Release 7.x work is associated with a specific npm 7 release labels Dec 13, 2020
@Hy-light
Copy link
Author

Can you also try npm v7.1.2?

Yes i just did, and i still have the same error message

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://github.com/npm/cli/issues

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Walter\AppData\Local\npm-cache_logs\2020-12-14T01_46_02_115Z-debug.log

Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file... node_modulesnpm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://github.com/npm/cli/issues

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Walter\AppData\Local\npm-cache_logs\2020-12-14T01_46_02_115Z-debug.log

Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file... node_modules

@wraithgar wraithgar added platform:windows is Windows-specific and removed Needs Triage needs review for next steps labels Jan 6, 2021
@wraithgar
Copy link
Member

npm v7.20.0 added some things that should catch more of the problems this was causing, can you try with the latest npm?

@lukekarrys
Copy link
Contributor

Closing: We suspect this has to do with a combination of resource constraints within the device/program being used and the large amount of transient dependencies being installed by this command.

We've opened npm/statusboard#395 for us to look deeper into this and track the discussion and fixes around it. You can also read this document for more information on why this issue might be happening currently and ways to debug it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:windows is Windows-specific Release 7.x work is associated with a specific npm 7 release
Projects
None yet
Development

No branches or pull requests

4 participants