question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DevTools failed to load SourceMap from @apollo/client

See original GitHub issue
DevTools 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:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:22 (7 by maintainers)

github_iconTop GitHub Comments

5reactions
stephenlautiercommented, Nov 3, 2020

Any solutions to this yet? Its very spammy as it has a lot of files, so its a bit frustrating

2reactions
erichillercommented, Jun 26, 2021

@benjamn - That fixed it! Thanks for letting me know .

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found