Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve mapping: Unexpected token ( in JSON at position 0 #9

Open
ray-kay opened this issue Sep 20, 2023 · 1 comment
Open

Comments

@ray-kay
Copy link

ray-kay commented Sep 20, 2023

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

@gclark-eightfold
Copy link

I had this issue as well. Try passing the .js.map file instead:

source-map resolve main.c15d80c6dc61f528.js.map 1 23044

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants