mobx-devtools: Extension not loading in electron.

I tried to install the extension by adding the following code in my electron.js file’s create window function -

const installExtension = require('electron-devtools-installer') installExtension .default('pfgnfdagidkfgccljigdamigbcnndkod') .then(name => console.log(Added Extension: ${name})) .catch(err => console.log('An error occurred: ', err))

The tab mobx is visible but is stuck on ‘connecting…’. Even though the extension is running smoothly for the same app served as web app. That is to say it runs on the browser but not in the electron.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

This bug also exists in xx 0.9.21_0

I’m using electron-devtools-installer as well and using Devtool 0.9.26 but it keeps showing ‘connecting’. It seems like inject has been called (considering global hook had registered collection thing), but it has no listeners attached, which means backend must be not initialized properly.

I am still stuck on “Connecting” on MobX DevTools v0.9.26

@realityforge, I’m sure you have installed quite old version. The up-to-date one should have blue logo, not red 😃