How to fix Cannot find module 'typescript' in Angular 4?

后端 未结 11 638
遥遥无期
遥遥无期 2020-12-09 07:40

I generated Angular 4 app 3 weeks ago using the @angular/cli. After 2 weeks, I tried to run it with the command line \"ng serve\" but I am prompted an error bel

11条回答
  •  失恋的感觉
    2020-12-09 08:07

    If you have cloned your project from git or somewhere then first, you should type npm install.

提交回复
热议问题