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

Broken dependency tree - [email protected]: core-js@<3 is no longer maintained #21

Open
sormiston opened this issue Mar 13, 2021 · 1 comment

Comments

@sormiston
Copy link

sormiston commented Mar 13, 2021

Hey all, just wanted to leave a note here for all future learners.

As of March 2021, npm install breaks down with an exit code after hanging on the following line:

npm WARN deprecated [email protected]: 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

Here's how to fix it:

  1. start clean --> delete node_modules folder and/or package-lock.json, if you have them.

In command line, run:

  1. npm install --package-lock-only
  2. npm audit fix --force
  3. npm install

Happy testing,
Sean

@sormiston sormiston changed the title Broken dependency tree - [email protected]: core-js@<3 is no longer maintained Chap 2: Broken dependency tree - [email protected]: core-js@<3 is no longer maintained Mar 13, 2021
@sormiston sormiston changed the title Chap 2: Broken dependency tree - [email protected]: core-js@<3 is no longer maintained Broken dependency tree - [email protected]: core-js@<3 is no longer maintained Mar 13, 2021
@samuelguesnier
Copy link

Hello @sormiston ,
Can You help me please ? I did what you say but I get this error :

error during render : /
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in C:\Users<user>PROJECTS\hacker_news\vue-hackernews\node_modules\firebase\package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants