“You seem to not be depending on ”@angular/core“.”

后端 未结 10 1572
执念已碎
执念已碎 2020-12-24 11:05

When I try to build my project running the following command:

ng build --environment=prod --aot=false  --output-pa         


        
10条回答
  •  萌比男神i
    2020-12-24 11:10

    @Sunil Kumar Sahu is correct.

    Using "ng link" means it connects your current application to your root/parent application that you have on your machine. When you run your application, any changes you make to the dependency will be reflected in the application.

    After this, just run "ng serve".

    Link : https://codurance.com/2016/12/21/how-to-use-npm-link/

    • Prakhar

提交回复
热议问题