Cannot find module '@angular-devkit/core'

前端 未结 9 2306
感情败类
感情败类 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:33

    You can do

    First,

    Delete the node_modules folder

    Run npm install

    And add devkit to your dev dependancies with npm i -D @angular-devkit/core

提交回复
热议问题