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
Try this, it worked for me:
npm i --save @angular/platform-server
Then reopen VS code