Cannot find module '@angular-devkit/core'

前端 未结 9 2290
感情败类
感情败类 2020-12-23 09:24

I have created a angular project with Angular CLI: 1.6.3 Node: 9.4.0 OS: linux x64 version. But when want to run my angular app with command ng serve then fetch this error

9条回答
  •  无人及你
    2020-12-23 09:48

    I only installed my angular/cli using:
    npm install -g @angular/cli@1.5.2
    And I started getting this error.

    Solution:
    If your version is global and
    If you don't mind the version of your angular/cli then type:
    npm update -g @angular/cli

提交回复
热议问题