Angular 2 Cannot read property 'config' of null

前端 未结 10 814
执念已碎
执念已碎 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:53

    I found the solution! In my case I moved the project to another directory.
    there is a hidden file called .angular-cli
    Show the hidden file in the old project and copy this file and paste it in the new distention. This solved the issue for me.

提交回复
热议问题