79220226

Date: 2024-11-24 14:01:31
Score: 1
Natty:
Report link

In my similar case worked:

  1. When I put command I got error: ng serve <- command An unhandled exception occurred: Invalid or unexpected token See "C:/(...)/angular-errors.log" for further details. <-output, hold ctrl and click this link (shortcut work on visual studio)
  2. under this link on first lines I clicked another link: [error] C:/(...)/node_modules\source-map\lib\source-map-consumer.js:1
  3. I opened this file, inside where I found multi of null objects I deleted them and saved this file.
  4. again I used ng serve this time it works as expected.

This way worked for me in this case.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user28072911