eddyerburgh / eddyerburgh/vue-hackernews

Broken dependency tree - core-js@2.6.12: core-js@<3 is no longer maintained

Open
#21 1 comment 13 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
156
Forks
92
PR merge metrics
No merged PRs in 30d

Description

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 core-js@2.6.12: 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:

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

Happy testing,
Sean

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no repository file or test; start by running npm install and observing the core-js@2.6.12 warning and failure. Inspect the dependency manifests and lockfile to locate the source of core-js 2, then verify that a clean install completes without the deprecated dependency warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.