sindresorhus / electron-debug

Adds useful debug features to your Electron app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

insp is not a function

yangwao opened this issue Β· comments

I recently updated to electron-debug@1.4.0, when I close inspector and I click anywhere/press alt/cmd/ctrl/random key or I'll try reopen inspector again, I shows me this window
image
Downgrade to electron-debug@1.3.0 helped me.
Officially reported by me SimulatedGREG/electron-vue#342

I removed my dependency on insp as a workaround.
Could you retry and check if it solve your issue?
You should have electron-localshortcut version 3.0.2 installed.

@yangwao should be solved now, could you please remove node_modules folder and retry?

Fixed! Thanks! πŸ€—
Worked with these

β«Έ  npm ls --depth 0
my-electron@0.0.0 /Users/wao/Lab/my-electron
β”œβ”€β”€ axios@0.16.2
β”œβ”€β”€ babel-core@6.25.0
β”œβ”€β”€ babel-loader@7.1.1
β”œβ”€β”€ babel-plugin-transform-runtime@6.23.0
β”œβ”€β”€ babel-preset-env@1.6.0
β”œβ”€β”€ babel-preset-stage-0@6.24.1
β”œβ”€β”€ babel-register@6.24.1
β”œβ”€β”€ babili-webpack-plugin@0.1.2
β”œβ”€β”€ cfonts@1.1.3
β”œβ”€β”€ chalk@1.1.3
β”œβ”€β”€ copy-webpack-plugin@4.0.1
β”œβ”€β”€ cross-env@5.0.4
β”œβ”€β”€ css-loader@0.28.4
β”œβ”€β”€ del@2.2.2
β”œβ”€β”€ devtron@1.4.0
β”œβ”€β”€ electron@1.7.5
β”œβ”€β”€ electron-builder@19.19.1
β”œβ”€β”€ electron-debug@1.4.0
β”œβ”€β”€ electron-devtools-installer@2.2.0
β”œβ”€β”€ extract-text-webpack-plugin@2.1.2
β”œβ”€β”€ file-loader@0.11.2
β”œβ”€β”€ html-webpack-plugin@2.30.1
β”œβ”€β”€ json-loader@0.5.7
β”œβ”€β”€ multispinner@0.2.1
β”œβ”€β”€ style-loader@0.18.2
β”œβ”€β”€ url-loader@0.5.9
β”œβ”€β”€ vue@2.4.2
β”œβ”€β”€ vue-electron@1.0.6
β”œβ”€β”€ vue-html-loader@1.2.4
β”œβ”€β”€ vue-loader@12.2.2
β”œβ”€β”€ vue-router@2.7.0
β”œβ”€β”€ vue-style-loader@3.0.1
β”œβ”€β”€ vue-template-compiler@2.4.2
β”œβ”€β”€ vuex@2.3.1
β”œβ”€β”€ webpack@2.7.0
β”œβ”€β”€ webpack-dev-server@2.6.1
└── webpack-hot-middleware@2.18.2

You're welcome!