I am trying to run an angular 4 application but i keep getting this error
ERROR in Could not resolve module @angular/core
There are no other errors. No dependency errors nothing. @angular/core exists in the node_modules folder. I have tried with @angular/cli installed and without but no effect on this error. I am not sure how to resolve this. It occurs in my amazon ec2 machine but not in my local Mac machine. The versions of the libraries are all the same.
Any help will be appreciated. Thanks.