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

underscore-umd.js.map: Unexpected token < in JSON at position 1 #5206

Closed
lisandi opened this issue Sep 29, 2021 · 1 comment
Closed

underscore-umd.js.map: Unexpected token < in JSON at position 1 #5206

lisandi opened this issue Sep 29, 2021 · 1 comment

Comments

@lisandi
Copy link

lisandi commented Sep 29, 2021

Describe the bug
underscore-umd.js.map: Unexpected token < in JSON at position 1

DevTools failed to load source-map: Could not parse content for https://my-domain/pad/p/underscore-umd.js.map: Unexpected token < in JSON at position 1

There seems to be a problem with JSON as it is receiving an Object while looking for JSON

using instead
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
might be a better way that would eliminate that error.
Screen Shot 2021-09-29 at 22 41 09

@rhansen
Copy link
Member

rhansen commented Sep 30, 2021

This will be fixed once we switch to webpack (or similar). See #4820.

This error only appears if you open the developer console. It's also benign.

@rhansen rhansen closed this as completed Sep 30, 2021
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