1

I have created the application in Angular 8 and Node 12.

After creating angular 8 build I am facing this problem while opening a new tab or page reload I have searched all around the internet did not found any solution.

Firefox console: Error

Google Chrome console: enter image description here

TSCONFIG:

enter image description here

Other than that everything works.

Thanks in advance.

Mysterious Coder
  • 148
  • 2
  • 4
  • 20

1 Answers1

1

I was roaming around the internet I found the answer here:

Angular 2 Remove Hash (#) from the URL

So basically there was a # URL problem which I come across and by setting up RouterModule.forRoot(routes, { useHash: true }) I am able to successfully run the application.

Thank you guys for helping me

Mysterious Coder
  • 148
  • 2
  • 4
  • 20