electron-inspector icon indicating copy to clipboard operation
electron-inspector copied to clipboard

Compatibility issues with [email protected]

Open msemenistyi opened this issue 8 years ago • 2 comments

Failed to load electron-prebuilt, abandoning rebuild.

{ Error: Cannot find module 'electron-rebuild/lib/node-pre-gyp-fix' at Function.Module._resolveFilename (module.js:440:15) at Function.Module._load (module.js:388:25) at Module.require (module.js:468:17) at require (internal/module.js:20:19) ...

msemenistyi avatar Feb 08 '17 14:02 msemenistyi

Yeah, there were a few breaking changes to the electron-rebuild API, I think the last version that works is 1.2.1. Unfortunately I don't have the time to fix this right now.

enlight avatar Feb 10 '17 11:02 enlight

This information should be written in gigantic red letters as it applies to all new installations that'd be automatically their respective latest versions. Thanks for enlightening me!

npm install [email protected] --save-dev
./node_modules/.bin/electron-inspector

It automatically rebuilds as necessary and launches directly.

AugustSaintFreytag avatar Mar 17 '17 11:03 AugustSaintFreytag