my project was generated with [Angular CLI] version 1.2.6.
I can compile the project and it works fine, but I always get error in vs code telling me cannot find mo
Delete Node Modules folder from project folder.Run below command
npm cache clean --force npm install
npm cache clean --force
npm install
It should work.