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
Visual Code restart is needed if any update or install or clear cache
Try this, it worked for me:
npm i --save @angular/platform-server
Then reopen VS code
All you need to do is that you have to include "nodes_modules" folder in your project. You might face this problem when you clone any project from github throu git command line.
Try using:
npm audit fix --force
and then:
npm install --save @ng-bootstrap/ng-bootstrap
instead of saving @ng-bootstrap/ng-bootstrap
globally.
this extension https://marketplace.visualstudio.com/items?itemName=sourcegraph.javascript-typescript was causing me the error in visual code, I uninstalled it and it works for me
Most likely missing node_modules package in the angular project, run:
npm install
inside the angular project folder.