Cannot find module '@angular/compiler'

前端 未结 7 978
南方客
南方客 2020-12-13 13:42

I run the command npm install -g @angular/cli and after i tried to run my app it says, Cannot find module \'@angular/compiler\' in the terminal. How can i install the compil

7条回答
  •  再見小時候
    2020-12-13 14:09

    In my case this was required:
    npm install @angular/compiler --save
    npm install @angular/cli --save-dev

提交回复
热议问题