-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All browser extensions don't work. #2788
Comments
Same issue (with same fmkad.... id). |
I found an extremely unpleasant solution. Following the suggestion here:
const installExtensions = async () => {
const installer = require('electron-devtools-installer');
const forceDownload = !!process.env.UPGRADE_EXTENSIONS;
const extensions = ['REACT_DEVELOPER_TOOLS'];
return installer
.default(
extensions.map((name) => installer[name]),
{ forceDownload, loadExtensionOptions: { allowFileAccess: true } }
)
.catch(console.log);
};
mainWindow = new BrowserWindow({
show: false,
width: 1024,
height: 728,
icon: getAssetPath('icon.png'),
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
},
}); Then it should work. Clearly not a great solution but perhaps a stopgap. The problem seems to be spread across multiple infrastructure repos, I'm not sure if extensions are working for anyone right now. Then again if they were broken for everyone I'd expect more noise on this issue, I had to dig to find this workaround. |
@timsgardner I did not have to upgrade to electron 12 I stayed on 11.4.3 and it still worked |
electron-devtools-installer released 3.2.0 already. |
(node:14160) ExtensionLoadWarning: Warnings loading extension at C:\Users\User\AppData\Roaming\Electron\extensions\fmkadmapgofadopljbjfkapdkoienihi: Unrecognized manifest key 'browser_action'. Unrecognized manifest key 'minimum_chrome_version'. Unrecognized manifest key 'update_url'. Cannot load extension with file or directory name metadata. Filenames starting with "" are reserved for use by the system.
10:01:28.657 > Skip checkForUpdatesAndNotify because application is not packed
The text was updated successfully, but these errors were encountered: