DevTools failed to load SourceMap from @apollo/client
See original GitHub issueDevTools failed to load SourceMap: Could not load content for
webpack:///node_modules/@apollo/client/utilities/observables/Observable.js.map: HTTP error: status code 404,
net::ERR_UNKNOWN_URL_SCHEME
Intended outcome: I just added the apollo/client to my Webpack/TS/React project and now I have a tons of warnings in my devtools. I can use some hack to ignore them, but you might wants to know about this inconvenience.
I also added ‘source-map-loader’, and now warnings had change:
./node_modules/@apollo/client/version.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/ruafjxn/rayf/custody-rbo-widget/node_modules/@apollo/src/version.ts' file: Error: ENOENT: no such file or directory, open '/Users/ruafjxn/rayf/custody-rbo-widget/node_modules/@apollo/src/version.ts'
Actual outcome: There is not any warnings.
How to reproduce the issue: Just import apollo/client and run a project with webpack. I use webpack@4
Versions
npx envinfo@latest --preset apollo --clipboard
System:
OS: macOS 10.15.6
Binaries:
Node: 10.19.0 - ~/.nvm/versions/node/v10.19.0/bin/node
Yarn: 1.22.0 - /usr/local/bin/yarn
npm: 6.14.7 - ~/.nvm/versions/node/v10.19.0/bin/npm
Browsers:
Chrome: 84.0.4147.89
npmPackages:
@apollo/client: ^3.1.3 => 3.1.3
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:22 (7 by maintainers)
Top Results From Across the Web
DevTools failed to load SourceMap for webpack ...
The source map you are trying to load is in node_modules and not part of webpack bundle. "If not extracted and processed into...
Read more >could not load content for webpack - You.com | The AI Search ...
The source map you are trying to load is in node_modules and not part of webpack bundle. "If not extracted and processed into...
Read more >Developer tools - Apollo GraphQL Docs
The Apollo Client Devtools appear as an "Apollo" tab in your web browser's Inspector panel, ... or query the Apollo Client cache to...
Read more >Browser console shows DevTools failed to load SourceMap ...
Solution · Go to the developer tools (F12 in the browser); · Select the Cogwheel in the upper right corner; · In the...
Read more >Getting the Circle of Death on Product page of 2nd store only
... https://chrome.google.com/webstore/detail/apollo-client-developer-t/ ... content.js:11232 DevTools failed to load source map: Could not ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any solutions to this yet? Its very spammy as it has a lot of files, so its a bit frustrating
@benjamn - That fixed it! Thanks for letting me know .