Skip to content
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

MobX tab is not added in Electron #95

Open
rendomnet opened this issue Jan 12, 2021 · 3 comments
Open

MobX tab is not added in Electron #95

rendomnet opened this issue Jan 12, 2021 · 3 comments

Comments

@rendomnet
Copy link

I have added MobX to my electron app using electron-devtools-installer

installExtension(MOBX_DEVTOOLS) .then((name) => { console.log(Added Extension: ${name}); }) .catch((err) => console.log('An error occurred: ', err));

Console log says: Added Extension: MobX Developer Tools

But there is no MobX tab

@BasixKOR
Copy link

BasixKOR commented Aug 4, 2021

Make sure you launched devtools after installation has been completed. I had a same problem.

@zhangdongyan6
Copy link

You have to install mobx-devtools extention in Electorn after using electron-devtools-install.
Using Electron API loadExtension

@hatton
Copy link

hatton commented Dec 9, 2022

@dongdongZhang007 can you say more? In the current version of electron-devtools-install, that library does the loadExtension itself:

return electron_1.session.defaultSession
          .loadExtension(extensionFolder, loadExtensionOptions)

I've confirmed that this code is running, but it does give this warning:

(node:28704) ExtensionLoadWarning: Warnings loading extension at C:\Users\hatto\AppData\Roaming\lameta\extensions\pfgnfdagidkfgccljigdamigbcnndkod:
  Manifest version 2 is deprecated, and support will be removed in 2023. See https://developer.chrome.com/blog/mv2-transition/ for more details.
  Permission 'contextMenus' is unknown or URL pattern is malformed.

So my question is, are you loading it again? If so, can you share the code? Do you hard-code the path?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants