Search code examples
aspnetboilerplate

Compile Angular app error


I'm having problem getting the latest ASP.NET Boilerplate (core + angular 3.0.0 stable) to work.

First I'm having this warning when running yarn. Warning from yarn

After that I continued running npm start and got this warning as well as error for the webpack (webpack: failed to compile). Warning from npm start The webpack error Webpack error Webpack compile failed

I've used the earlier version which runs fine with yarn and npm start. Anything I did wrong here?


Solution

  • Did you run npm install to install all dependencies package of the app. Then run compile command again:

    ng serve
    

    Update

    The issue is web-animations-js package missed. Just run npm install web-animations-js --save, then compile app again.