Angular Error on `ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points`

10k views Asked by At

I've recently updated my Angular project from 8 to 9. It worked fine on my machine. I tried copying the files and assembling them on another device. While doing npm install I am getting the following error.

I tried removing package.lock.json and removing the node_modules folder completely and tried many times. But nothing worksenter image description here

1

There are 1 answers

0
Monzer Ayman On
  1. open Powershell as Administrator
  2. cd yourProjectPath
  3. npm i
  4. ng serve