0

i have taken build from angular and i deployed on tomcat. but iam getting this error

GET http://localhost:8080/vendor.6973535b47bac575f754.js net::ERR_ABORTED
index.html:76 GET http://localhost:8080/vendor.6973535b47bac575f754.css net::ERR_ABORTED
index.html:92 GET http://localhost:8080/app.6973535b47bac575f754.js net::ERR_ABORTED
index.html:92 GET http://localhost:8080/polyfills.6973535b47bac575f754.js net::ERR_ABORTED
index.html:92 GET http://localhost:8080/vendor.6973535b47bac575f754.js net::ERR_ABORTED
index.html:92 GET http://localhost:8080/app.6973535b47bac575f754.js 404 ()

enter image description here

i have fixed by changing index.html . i don't want to change every time.is there any solution for this?

angular: 4.2.5 node: 8.8.0 Os: Linux Ubuntu 16.04 webpack:2.2.1

Dharan Ganesan
  • 433
  • 2
  • 6
  • 23

1 Answers1

0

We need to remove public path or add correct path in webpack configuration.

Dharan Ganesan
  • 433
  • 2
  • 6
  • 23