You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DevTools failed to load source map: Could not load content for chrome-extension://cbpkheoflnenicgjfbglanilmpicnnce/js/browser-polyfill.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
To Reproduce
Create a new project and add browser-extension
vue create my-project (V3 basic)
cd my-project
vue add browser-extension
Fix linting errors
npm run serve
Add the /dist folder as an 'unpacked' extension to chrome
Open the console for the background by clicking on 'background page' for the extension atchrome://extensions/ url.
Right click the browser extension popup and select 'inspect'
Expected behavior
There should not be source map errors on default clean install?
Name
Version
vue-cli-plugin-browser-extension
0.25.2
Operating System
Mac OS 10.14.6
Node
Installed with 14.15.1, additionally tested 16.1.0
NPM/Yarn
7.11.2
vue-cli
4.5.13
vue-cli-service
0.14.6
browser
Chrome
The text was updated successfully, but these errors were encountered:
For those who came here thinking this was the reason why none of the extension pages were being loaded on a clean install, this error does not cause that.
Instead, for me I created the project using Vue3, while the scaffolding code seems to be using the Vue2 syntax (correct me if I'm wrong). What I did to fix this was to replace each main.js file's code from
Describe the bug
The console for both the background process, the content script (when used), and the popup all show a source map error:
Related issue (no reason for closing, or solution given): #78
Potentially related issue: #98
To Reproduce
Create a new project and add browser-extension
vue create my-project
(V3 basic)cd my-project
vue add browser-extension
npm run serve
/dist
folder as an 'unpacked' extension to chromechrome://extensions/
url.Expected behavior
There should not be source map errors on default clean install?
The text was updated successfully, but these errors were encountered: