-
-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
if i get error like this:
main.js :
console.log(qqq) // qqq is not definedand press Ctrl + S, my electronmon restart with error,
and if i after this qqq replase to 232332
main.js :
console.log(232332) // qqq is not definedmy electronmon app not restarting
it my console output:
App threw an error during load
ReferenceError: qq is not defined
at Object.<anonymous> (C:\localhost\electron\index.js:1:22)
at Module._compile (internal/modules/cjs/loader.js:880:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:892:10)
at Module.load (internal/modules/cjs/loader.js:735:32)
at Module._load (internal/modules/cjs/loader.js:648:12)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (C:\localhost\electron\node_modules\runtime-required\runtime-required.js:38:23)
at loadApplicationPackage (C:\localhost\electron\node_modules\electron\dist\resources\default_app.asar\main.js:109:16)
at Object.<anonymous> (C:\localhost\electron\node_modules\electron\dist\resources\default_app.asar\main.js:155:9)
(electron) 'getName function' is deprecated and will be removed. Please use 'name property' instead.
C:\localhost\electron\node_modules\electronmon\src\electronmon.js:86
globalApp.once('exit', () => {
^
TypeError: Cannot read property 'once' of null
at restartApp (C:\localhost\electron\node_modules\electronmon\src\electronmon.js:86:13)
at FSWatcher.<anonymous> (C:\localhost\electron\node_modules\electronmon\src\electronmon.js:102:14)
at FSWatcher.emit (events.js:210:5)
at FSWatcher.<anonymous> (C:\localhost\electron\node_modules\chokidar\index.js:199:15)
at FSWatcher._emit (C:\localhost\electron\node_modules\chokidar\index.js:241:5)
at FSWatcher.<anonymous> (C:\localhost\electron\node_modules\chokidar\lib\nodefs-handler.js:274:18)
at FSReqCallback.oncomplete (fs.js:159:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! test@1.0.0 electronmon: `electronmon .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the test@1.0.0 electronmon script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\me\AppData\Roaming\npm-cache\_logs\2019-12-17T01_27_21_582Z-debug.log
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working