vuejs / devtools-v6

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools-v6.vuejs.org/
MIT License
24.69k stars 4.14k forks source link

DevTools failed to load SourceMap: Could not load content for chrome-extension://ljjemllljcmogpfapbkkighbhhppjdbg/build/shared-data.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME #1322

Closed mgomez-tubs closed 3 years ago

mgomez-tubs commented 3 years ago

Version

6.0.0-beta.2

Browser and OS info

w10 / latest chrome / vuejs3 ver 3.0.4

Steps to reproduce

Run a local vuejs site (as a development build), then open vuejs devtools tab in chrome.

What is expected?

Normal Behaviour

What is actually happening?

FIle under ./build/shared-data.js.map doesnt exist

mgomez-tubs commented 3 years ago

~Solved by reverting to Vue 3.0.2~ this doesn't solve the issue

softboy99 commented 3 years ago

Hi I encounter same problem. After reverting to Vue 3.0.2, still the same, does there need any configureation in vue.config.js or any other places?

mgomez-tubs commented 3 years ago

Reverting doesnt solve the issue. I thought it was gone, but it wasn't showing show since I didn't have the DevTools tap open. The needed script "shared-data.js.map" seems to be missing under %AppData%\Local\Google\Chrome\User Data\Default\Extensions\ljjemllljcmogpfapbkkighbhhppjdbg\6.0.0.2_0\build

weleoka commented 3 years ago

Not sure if this is related, in Firefox (78.4.0esr (64-bit)) it is similar with the Vue devtools extension 6.0.0.2, and under Vue v3.0.2 or v3.0.4:

Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: moz-extension://f99ab60a-8fd9-4773-891b-b12fdf395fe2/build/backend.js
Source Map URL: shared-data.js.map

(not surprisingly the error is exactly the same when running vue-devtools against a production build of the Vue app).

So it does seem like the extension / add-on is requesting a .map file which simply does not exist.

basuneko commented 3 years ago

Same issue on devtools 6.0.0 beta3 on chrome 87.0.4280.88

DevTools failed to load SourceMap: Could not load content for chrome-extension://ljjemllljcmogpfapbkkighbhhppjdbg/build/queue.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
KrzysztofPoz commented 3 years ago

same issue on devtools 6.0.0 beta3 on Chromium Version 83.0.4103.116 built on Debian

Akryum commented 3 years ago

The sourcemap file failing to load doesn't have any impact on the running code, so you can safely ignore this error.