hello guys I have this next error when I try run my App from the terminal(linux), when I run this command:
ng serve
and I get this
Had this exact issue on an existing Angular 10 project. The following steps resolved the issue for me:
package-lock.json
file.node_modules
folder and all of its contents.npm install
. Note that in my case I had to add the --force
flag. YMMVAt this point, ng build --prod
completed successfully for me.