Angular 2 Cannot read property 'config' of null

前端 未结 10 821
执念已碎
执念已碎 2020-12-29 20:30

I have a issue with Angular 2. When i want to start server it get this:

$ ng serve
Cannot read property \'config\' of null
TypeError: Cannot read property \'         


        
10条回答
  •  一生所求
    2020-12-29 20:58

    https://angular.io/guide/quickstart

    Step 3: Serve the application Go to the project directory and launch the server.

    content_copy cd my-app ng serve --open

    May be you missed the point 3 (cd my-app)? The start directory have been like: ./my-app/my-app. If start application from other directory we get this error.

提交回复
热议问题