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.

(node:19656) ExtensionLoadWarning: Warnings loading extension at

See original GitHub issue

描述

完整的控制台信息如下:

App running at:

\ Bundling main process…

DONE Compiled successfully in 1526ms 18:09:11 File Size Gzipped

dist_electron\index.js 744.94 KiB 165.80 KiB

Images and other types of assets omitted.

INFO Launching Electron… (node:19656) ExtensionLoadWarning: Warnings loading extension at C:\Users\1\AppData\Roaming\electron-vue-desktop\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.


执行步骤

  1. vue add proName
  2. vue add electron-builder
  3. yarn electron:serve 之后在控制台信息如上所示

当前环境

vue info

System: OS: Windows 10 10.0.16299 CPU: (4) x64 Intel® Core™ i5-7400 CPU @ 3.00GHz Binaries: Node: 12.13.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.4 - ~\AppData\Roaming\npm\yarn.CMD npm: 6.14.5 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: 84.0.4147.105 Edge: Spartan (41.16299.1480.0) npmPackages: @vue/babel-helper-vue-jsx-merge-props: 1.0.0 @vue/babel-plugin-transform-vue-jsx: 1.1.2 @vue/babel-preset-app: 4.4.6 @vue/babel-preset-jsx: 1.1.2 @vue/babel-sugar-functional-vue: 1.1.2 @vue/babel-sugar-inject-h: 1.1.2 @vue/babel-sugar-v-model: 1.1.2 @vue/babel-sugar-v-on: 1.1.2 @vue/cli-overlay: 4.4.6 @vue/cli-plugin-babel: ~4.4.0 => 4.4.6 @vue/cli-plugin-eslint: ~4.4.0 => 4.4.6 @vue/cli-plugin-router: ~4.4.0 => 4.4.6 @vue/cli-plugin-vuex: ~4.4.0 => 4.4.6 @vue/cli-service: ~4.4.0 => 4.4.6 @vue/cli-shared-utils: 4.4.6 @vue/component-compiler-utils: 3.2.0 @vue/eslint-config-airbnb: ^5.0.2 => 5.1.0 @vue/preload-webpack-plugin: 1.1.2 @vue/web-component-wrapper: 1.2.0 eslint-plugin-vue: ^6.2.2 => 6.2.2 vue: ^2.6.11 => 2.6.11 vue-cli-plugin-electron-builder: ~2.0.0-rc.4 => 2.0.0-rc.4 vue-eslint-parser: 7.1.0 vue-hot-reload-api: 2.3.4 vue-loader: 15.9.3 vue-router: ^3.2.0 => 3.3.4 vue-style-loader: 4.1.2 vue-template-compiler: ^2.6.11 => 2.6.11 vue-template-es2015-compiler: 1.9.1 vuex: ^3.4.0 => 3.5.1 npmGlobalPackages: @vue/cli: Not Found

repo https://github.com/yayxs/electron-vue-desktop

其他

项目也是可以正常运行,只是控制台有ExtensionLoadWarning 信息

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
m4heshdcommented, Jan 8, 2021

Use this instead of the predefined VueJS Devtools. It’s the beta that supports Vue 3.

try {
  await installExtension({
    id: 'ljjemllljcmogpfapbkkighbhhppjdbg', //Vue Devtools beta
    electron: '>=1.2.1'
  })
} catch (e) {
  console.error('Vue Devtools failed to install:', e.toString())
}
4reactions
fskcommented, Dec 27, 2021
app.on("ready", async () => {
  if (isDevelopment && !process.env.IS_TEST) {
    // Install Vue Devtools
    try {
      await installExtension({
        id: "ljjemllljcmogpfapbkkighbhhppjdbg", //Vue Devtools beta
        electron: ">=1.2.1",
      });
    } catch (e) {
      console.error("Vue Devtools failed to install:", e.toString());
    }
  }
  createWindow();
});

This is code blog in my background.js file. But still i have same issue.

Error is;

[(node:12040) ExtensionLoadWarning: Warnings loading extension at C:\Users\Dell\AppData\Roaming\project\extensions\ljjemllljcmogpfapbkkighbhhppjdbg:
  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.](url)

How can i fix.?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Warnings loading extension at .... Electron js And Vue2
I am developing a project with vue2-electron builder. But when i run this code, its not displayed. The error is;
Read more >
Vite 搭配Electron 整理(不使用TypeScript) - 程式狂想筆記
(node:19656) ExtensionLoadWarning: Warnings loading extension at · Issue ... An easy way to ensure Chrome DevTools extensions into Electron.
Read more >
DevTools Extension
To load an extension in Electron, you need to download it via Chrome, locate its filesystem path, and then load it into your...
Read more >
Warnings loading extension at .... Electron js And Vue2
But when i run this code, its not displayed. The error is;. Code: (node:10500) ExtensionLoadWarning: Warnings loading extension at ...
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