cannot find module css-loader while doing ng build -prod with angular-cli@1.0.0-beta.21

前端 未结 6 1327
逝去的感伤
逝去的感伤 2021-02-02 01:12

I have following package.json configuration

\"dependencies\": {
\"@angular/common\": \"2.2.1\",
\"@angular/compiler\": \"2.2.1\",
\"@angular/core\": \"2.2.1\",
\         


        
6条回答
  •  天涯浪人
    2021-02-02 01:48

    Thanks to Florinache!

    Downgrading to angular-cli "1.0.0-beta.19-3" works for me. I had the same issue from today on in all my projects...

    {
      "devDependencies": {
           ...
           "angular-cli": "1.0.0-beta.19-3",
           ...
       }
    }
    

提交回复
热议问题