source-map-cli
source-map-cli copied to clipboard
Could not resolve mapping: Unexpected token ( in JSON at position 0
Hi there,
I am trying to resolve an error on an Angular 15 prod build
source-map resolve main.c15d80c6dc61f528.js 1 23044
But it gives me the error: Could not resolve mapping: Unexpected token ( in JSON at position 0
Please find the files attached.
Hope you can help me.
Many thanks in advance. main.c15d80c6dc61f528.zip
I had this issue as well. Try passing the .js.map file instead:
source-map resolve main.c15d80c6dc61f528.js.map 1 23044