0

I need to start dist/index.html directly using browser without any http server. when I open dist/index.html I got those errors :
Loading failed for the with source “file:///inline.318b50c57b4eba3d437b.bundle.js”. Loading failed for the with source “file:///polyfills.23490afe3349284ca349.bundle.js”.

maroodb
  • 1,026
  • 2
  • 16
  • 28
  • is it possible with other js frameworks? (react or vue..) – maroodb Apr 02 '18 at 08:46
  • Sorry I may have been wrong. Check this answer https://stackoverflow.com/a/40024994/1350162 – callback Apr 02 '18 at 08:49
  • in index.html – Prasanth S Apr 02 '18 at 08:50
  • after changing base href, I can see first page , but I got this error : ERROR Error: Uncaught (in promise): SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'file:///home/maoodb/Documents/mean-docker/angular-client/dist/' cannot be created in a document with origin 'null' and URL 'file:///home/maoodb/Documents/mean-docker/angular-client/dist/index.html'. – maroodb Apr 02 '18 at 09:51

0 Answers0