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.

Electron 9.0.0, unable to install dev tools

See original GitHub issue

Describe the bug After upgrading to electron 9.0.0, the following error is thrown.

(node:63292) ExtensionLoadWarning: Warnings loading extension at /Users/mimimi/Library/Application Support/PROJECTNAME/extensions/nhdogjmejiglipccpnnnanhbledajbpd: Unrecognized manifest key 'browser_action'. Unrecognized manifest key 'update_url'. Permission 'contextMenus' is unknown or URL pattern is malformed. Cannot load extension with file or directory name _metadata. Filenames starting with "_" are reserved for use by the system.
(node:63292) ExtensionLoadWarning: Warnings loading extension at /Users/mimimi/Library/Application Support/PROJECTNAME/extensions/nhdogjmejiglipccpnnnanhbledajbpd: Unrecognized manifest key 'browser_action'. Unrecognized manifest key 'update_url'. Permission 'contextMenus' is unknown or URL pattern is malformed. Cannot load extension with file or directory name _metadata. Filenames starting with "_" are reserved for use by the system.

To Reproduce Init a project and upgrade electron to 9.0.0

Expected behavior The dev tool should be working

Environment (please complete the following information):

  • OS and version: macOS 10.15.5
  • node version: v12.13.1
  • npm version:
  • yarn version (if used): 1.22.0
  • vue-cli-plugin-electron-builder version : commit f0c7709
  • electron version: 9.0.0
  • other vue plugins used: vuetify
  • custom config for vcp-electron-builder: none
  • (if possible) link to your repo: none

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:45 (3 by maintainers)

github_iconTop GitHub Comments

35reactions
azeranexcommented, Jul 24, 2020

Vue Dev tool is actually working but you have to close and re-open dev tool.

I use following code to make it work from start:

async function createWindow () {
// ...
  if (process.env.WEBPACK_DEV_SERVER_URL) {
    // Load the url of the dev server if in development mode
    await win.loadURL(process.env.WEBPACK_DEV_SERVER_URL)
    if (!process.env.IS_TEST) win.webContents.openDevTools()
// ...
29reactions
Al-Rozhkovcommented, Jun 1, 2020

Doesn’t work for me. Additional error message: 'BrowserWindow.addDevToolsExtension' is deprecated and will be removed. Please use 'session.loadExtension' instead.

Permission 'contextMenus' is unknown or URL pattern is malformed. Cannot load extension with file or directory name _metadata. Filenames starting with "_" are reserved for use by the system.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to load react dev tools in electron - Stack Overflow
I'm trying to load React and Redux dev tools in electron, so far Redux was loaded successfully, but ...
Read more >
Electron 9.0.0
Electron 9.0.0 has been released! It includes upgrades to Chromium 83, V8 8.3, and Node.js 12.14. We've added several new API integrations ...
Read more >
electron-devtools-installer | Yarn - Package Manager
This is an easy way to install DevTool extensions into Electron. You shouldn't have to mess around with downloading the extension, finding the...
Read more >
Need help getting SQLite working with Electron on Windows 10
Install Node... node-v12.16.3-x64 During install of Node, I do check the box that says "Automatically install the necessary tools" Next I ...
Read more >
9.0.0 - electron - npm
To install prebuilt Electron binaries, use npm . The preferred method is to install Electron as a development dependency in your app:.
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