MMM-Screencast icon indicating copy to clipboard operation
MMM-Screencast copied to clipboard

error loading See attached log

Open rothestar opened this issue 5 years ago • 3 comments

rothestar avatar Sep 21 '19 19:09 rothestar

0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', 1 verbose cli '/usr/bin/npm', 1 verbose cli 'start', 1 verbose cli 'http://www.youtube.com/tv?pairingCode=FC23707C-CDE7-4C43-AE00-BEC3D5BB2468&theme=cl&dialLaunch=watch', 1 verbose cli 'bottomRight', 1 verbose cli '500', 1 verbose cli '300' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle [email protected]~prestart: [email protected] 6 info lifecycle [email protected]~start: [email protected] 7 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true 8 verbose lifecycle [email protected]~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/modules/MMM-Screencast/node_modules/.bin:/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games 9 verbose lifecycle [email protected]~start: CWD: /home/pi/MagicMirror/modules/MMM-Screencast 10 silly lifecycle [email protected]~start: Args: [ '-c', 10 silly lifecycle 'electron app.js "http://www.youtube.com/tv?pairingCode=FC23707C-CDE7-4C43-AE00-BEC3D5BB2468&theme=cl&dialLaunch=watch" "bottomRight" "500" "300"' ] 11 info lifecycle [email protected]~start: Failed to exec start script 12 verbose stack Error: [email protected] start: electron app.js "http://www.youtube.com/tv?pairingCode=FC23707C-CDE7-4C43-AE00-BEC3D5BB2468&theme=cl&dialLaunch=watch" "bottomRight" "500" "300" 12 verbose stack spawn ENOENT 12 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18) 12 verbose stack at ChildProcess.emit (events.js:198:13) 12 verbose stack at maybeClose (internal/child_process.js:982:16) 12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 13 verbose pkgid [email protected] 14 verbose cwd /home/pi/MagicMirror/modules/MMM-Screencast 15 verbose Linux 4.19.57-v7+ 16 verbose argv "/usr/bin/node" "/usr/bin/npm" "start" "http://www.youtube.com/tv?pairingCode=FC23707C-CDE7-4C43-AE00-BEC3D5BB2468&theme=cl&dialLaunch=watch" "bottomRight" "500" "300" 17 verbose node v10.16.3 18 verbose npm v6.9.0 19 error file sh 20 error code ELIFECYCLE 21 error errno ENOENT 22 error syscall spawn 23 error [email protected] start: electron app.js "http://www.youtube.com/tv?pairingCode=FC23707C-CDE7-4C43-AE00-BEC3D5BB2468&theme=cl&dialLaunch=watch" "bottomRight" "500" "300" 23 error spawn ENOENT 24 error Failed at the [email protected] start script. 24 error This is probably not a problem with npm. There is likely additional logging output above. 25 verbose exit [ 1, true ]

rothestar avatar Sep 21 '19 19:09 rothestar

I run into a similar error and log being generated when attempting to cast a video. Fresh Magic Mirror and MMM-Screencast install.

georgebalt avatar Sep 28 '19 03:09 georgebalt

Hey @georgebalt and @rothestar this is very odd it looks like there is an issue launching electron within MMM-Screencast. Did you follow the instructions and install all of MMM-Screencast's dependencies? Also I updated some of the packages, so you might want to pull the most recent version of MMM-Screencast.

kevinatown avatar Sep 28 '19 17:09 kevinatown