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

Wrong source-map url in built web3 js file, causing annoying warnings in console #10

Open
php4fan opened this issue Jul 16, 2022 · 0 comments

Comments

@php4fan
Copy link
Contributor

php4fan commented Jul 16, 2022

I get these warnings in the DevTools console:

DevTools failed to load source map: Could not load content for https://cdn.kaiesh.com/js/web3.min.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE

These seem to be due to this line at the end of js/web3_3.0.0-rc.5.min.js:

//# sourceMappingURL=web3.min.js.map

I'm not sure if the file is not actually there (it's a bit strange that the response is a 403 and not 404) or if something is misconfigured on your CDN server, but I think you should either:

  • put the file there if it is not, or
  • fix access to it, or
  • fix the URL, or
  • remove the sourceMappingURL reference.
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

1 participant