79660390

Date: 2025-06-10 12:05:19
Score: 1
Natty:
Report link

I faced similar issue.

The answer is in the cmd error log.

We need to check whichever package is missing and install them manually.

Just go to the npm page of that package,

Copy the install command.

In your cmd paste that command@<your angular version>

It should match your angular version. If it is higher or lower than your own angular version, it would most probably throw a different kind of compilation error.

Add --legacy-peer-deps for any lower release dependency issues.

In my case, I did:

npm i @angular/[email protected] --legacy-peer-deps

npm i @angular/[email protected] --legacy-peer-deps

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Somnath Sadhu