I have an angular 4 application using webpack. When i try to run in in my amazon server i get this error. Works fine in my local. Any idea why this is happening? Thanks a lot for your help.
This is a valid question and I don't see why some people would downvote it.
Anyway I fixed the problem. My package.json had @angular/compiler-cli in the dependencies. Removing that solved the problem. I have @angular/compiler-cli in the devDependencies. Problem was faced only on ec2 machine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With