DEV Community

brianreinhold
brianreinhold

Posted on

Angular Update Guide does not work

I am trying to update my angular project from 7 to 8 (eventually I want to update to the latest). Following the Angular Update Guide here https://update.angular.io/?v=7.2-8.2 gives the following error after invoking the first command instruction cmd /C "set "NG_DISABLE_VERSION_CHECK=1" && npx @angular/cli@8 update @angular/cli@8 @angular/core@8"

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64

and quits.

My package.json file is updated but package-lock.json is not. There is no help in the instructions about what to do when things go wrong. I have tried different variants and there are always conflicts - not in the code but the node-modules dependencies; usually conflicting angular dependencies.

How does one actually do this? Any help would be greatly appreciated!

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more