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

npm install -g gatsby-cli, core-js, error #24841

Closed
4096void opened this issue Jun 6, 2020 · 2 comments
Closed

npm install -g gatsby-cli, core-js, error #24841

4096void opened this issue Jun 6, 2020 · 2 comments
Labels
type: bug An issue or pull request relating to a bug in Gatsby

Comments

@4096void
Copy link

4096void commented Jun 6, 2020

When I run npm install -g gatsby-cli,

Results below:

npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/my_name/.npm/_logs/2020-06-06T14_32_49_601Z-debug.log

Or can I just update core-js@latest to fix this?
Thanks in advance.

@4096void 4096void added the type: bug An issue or pull request relating to a bug in Gatsby label Jun 6, 2020
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 6, 2020
@herecydev
Copy link
Contributor

An update to core-js is being tracked here: #15601

Are you able to use the gatsby-cli, this shouldn't be an error but just a warning

@4096void
Copy link
Author

4096void commented Jun 6, 2020

After few times, it works fine now, seems not related to core-js@<3

@4096void 4096void closed this as completed Jun 6, 2020
@LekoArts LekoArts removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

3 participants