Sierramike
Sierramike

Reputation: 113

ng new says lot of packages are deprecated

I'm new to Angular, and I installed it one week ago. Didn't pay attention on first use, but today I'm creating a new empty project with ng new, and on almost each package, it says it is deprecated, or "no longer maintained" and so on :

npm WARN deprecated [email protected]: core-js@<3.0 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 WARN deprecated [email protected]: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size

How is it possible and how can I update npm to avoid this and ensure to have last versions of packages?

Upvotes: 1

Views: 770

Answers (1)

Meryl
Meryl

Reputation: 164

core-js is now at version 3.4.7. For updating, go to your project route and type into the terminal:

npm install --save core-js@3

This will update you to the latest version.

Upvotes: 1

Related Questions