Sandeep Thomas
Sandeep Thomas

Reputation: 4727

ng serve freezes at 92%

I am trying to execute my angular application, but it freezes at 92%.

Here is the screen shot

enter image description here

I tried npm cache clean to check is it something with cache. Doesnt worked ALso updated the typescript based on a suggestion which is also not helped.

Im working in Angular 9, npm 6.14

Upvotes: 0

Views: 1041

Answers (1)

Sandeep Thomas
Sandeep Thomas

Reputation: 4727

at the end I got a solution. Really wondering why the compiler behaves so weird where there is real bug in angular.json file.

The issue happened was at the angular.json file. There was an extra empty item in the scripts array which casued the trouble.

like this

"scripts": ["node_modules/jquery/dist/jquery.js","node_modules/bootstrap/dist/js/bootstrap.min.js", ""]

Also what I believe is, if there is a path error as well, compiler trigger the same error.

Thanks all

Upvotes: 2

Related Questions