Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please make a headless option #22

Open
solidssss opened this issue Aug 9, 2020 · 3 comments
Open

Please make a headless option #22

solidssss opened this issue Aug 9, 2020 · 3 comments

Comments

@solidssss
Copy link

solidssss commented Aug 9, 2020

I'm getting an error when I try to install, I think it is because I run headless, not sure though.
Here is the error:
npm start

> mMusicCast@1.1.0 start /home/pi/mMusicCast
> electron .

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mMusicCast@1.1.0 start: `electron .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mMusicCast@1.1.0 start 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!     /home/pi/.npm/_logs/2020-08-09T18_02_55_393Z-debug.log

and /home/pi/.npm/_logs/2020-08-09T18_02_55_393Z-debug.log:

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/home/pi/.nvm/versions/node/v14.7.0/bin/node',
1 verbose cli   '/home/pi/.nvm/versions/node/v14.7.0/bin/npm',
1 verbose cli   'start'
1 verbose cli ]
2 info using npm@6.14.7
3 info using node@v14.7.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle mMusicCast@1.1.0~prestart: mMusicCast@1.1.0
6 info lifecycle mMusicCast@1.1.0~start: mMusicCast@1.1.0
7 verbose lifecycle mMusicCast@1.1.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle mMusicCast@1.1.0~start: PATH: /home/pi/.nvm/versions/node/v14.7.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/mMusicCast/node_modules/.bin:/home/pi/.nvm/versions/node/v14.7.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
9 verbose lifecycle mMusicCast@1.1.0~start: CWD: /home/pi/mMusicCast
10 silly lifecycle mMusicCast@1.1.0~start: Args: [ '-c', 'electron .' ]
11 silly lifecycle mMusicCast@1.1.0~start: Returned: code: 1  signal: null
12 info lifecycle mMusicCast@1.1.0~start: Failed to exec start script
13 verbose stack Error: mMusicCast@1.1.0 start: `electron .`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/home/pi/.nvm/versions/node/v14.7.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:314:20)
13 verbose stack     at ChildProcess.<anonymous> (/home/pi/.nvm/versions/node/v14.7.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:314:20)
13 verbose stack     at maybeClose (internal/child_process.js:1051:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid mMusicCast@1.1.0
15 verbose cwd /home/pi/mMusicCast
16 verbose Linux 4.19.75-v7+
17 verbose argv "/home/pi/.nvm/versions/node/v14.7.0/bin/node" "/home/pi/.nvm/versions/node/v14.7.0/bin/npm" "start"
18 verbose node v14.7.0
19 verbose npm  v6.14.7
20 error code ELIFECYCLE
21 error errno 1
22 error mMusicCast@1.1.0 start: `electron .`
22 error Exit status 1
23 error Failed at the mMusicCast@1.1.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
@jgabriel98
Copy link

i have the same problem

@lclem
Copy link

lclem commented Apr 25, 2021

same here

@vbaicu
Copy link
Owner

vbaicu commented Sep 7, 2022

Seems to be a problem with Electron itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants