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

Connection breaks with "loadResourceForFrontend failed"

Open AugustSaintFreytag opened this issue 8 years ago • 0 comments

When launching the app code with ./node_modules/.bin/electron . --debug-brk=5858, it takes a while for Chrome at http://127.0.0.1:8080/?debug=5858to load the sources; Then it halts at the first line after hitting pause to refresh the frozen view. Once it hits the line require("electron") in init.js, it crashes with the following console output (in Chrome):

Network.loadResourceForFrontend failed.
Error: ENOENT: no such file or directory, open '/Users/Freytag/Sites/cornerstone/node_modules/electron-compile/lib/${newMapPath}`);'

Using node 6.9.5, npm 3.10.10 with electron-inspector 0.1.4 alongside electron-prebuilt 1.4.13, electron-prebuilt-compile 1.6.2, electron-rebuild 1.2.1.

AugustSaintFreytag avatar Mar 17 '17 12:03 AugustSaintFreytag