The NPM script 'start' exited without indicating that the Angular CLI was listening for requests

前端 未结 8 1881
伪装坚强ぢ
伪装坚强ぢ 2020-12-03 06:36

I\'m attempting to start an .NET Core 2/Angular 6 SPA. I created an Angular 5 Application using "dotnet new angular" then proceeded to upgrade using this guide fro

8条回答
  •  有刺的猬
    2020-12-03 06:53

    For me this and the followings are solved the issue: https://github.com/angular/angular-cli/issues/10666

    And also you need to edit your package.json file and remove the --extractCss parameter from the start and build property. from:

    "scripts": {
        "ng": "ng",
        "start": "ng serve --extract-css",
        "build": "ng build --extract-css",
    

    to:

    "scripts": {
        "ng": "ng",
        "start": "ng serve",
        "build": "ng build",
    

提交回复
热议问题