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

Cannot start tedis in Ubuntu 16.04 #2

Open
kcech opened this issue Jul 26, 2017 · 1 comment
Open

Cannot start tedis in Ubuntu 16.04 #2

kcech opened this issue Jul 26, 2017 · 1 comment

Comments

@kcech
Copy link

kcech commented Jul 26, 2017

Hello,
I tried using both node 6 and 8, letest versions, with nvm..
The command npm run electron fails. The debug log contains:

0 info it worked if it ends with ok
1 verbose cli [ '/home/kcech/.nvm/versions/node/v8.2.1/bin/node',
1 verbose cli   '/home/kcech/.nvm/versions/node/v8.2.1/bin/npm',
1 verbose cli   'run',
1 verbose cli   'electron' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preelectron', 'electron', 'postelectron' ]
5 info lifecycle [email protected]~preelectron: [email protected]
6 info lifecycle [email protected]~electron: [email protected]
7 verbose lifecycle [email protected]~electron: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~electron: PATH: /home/kcech/.nvm/versions/node/v8.2.1/lib/node_modules/npm/bin/node-gyp-bin:/opt/tedis/node_modules/.bin:/home/kcech/.nvm/versions/node/v8.2.1/bin:/home/kcech/bin:/home/kcech/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
9 verbose lifecycle [email protected]~electron: CWD: /opt/tedis
10 silly lifecycle [email protected]~electron: Args: [ '-c', 'electron .' ]
11 silly lifecycle [email protected]~electron: Returned: code: 1  signal: null
12 info lifecycle [email protected]~electron: Failed to exec electron script
13 verbose stack Error: [email protected] electron: `electron .`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/home/kcech/.nvm/versions/node/v8.2.1/lib/node_modules/npm/lib/utils/lifecycle.js:289:16)
13 verbose stack     at emitTwo (events.js:125:13)
13 verbose stack     at EventEmitter.emit (events.js:213:7)
13 verbose stack     at ChildProcess.<anonymous> (/home/kcech/.nvm/versions/node/v8.2.1/lib/node_modules/npm/lib/utils/spawn.js:40:14)
13 verbose stack     at emitTwo (events.js:125:13)
13 verbose stack     at ChildProcess.emit (events.js:213:7)
13 verbose stack     at maybeClose (internal/child_process.js:921:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
14 verbose pkgid [email protected]
15 verbose cwd /opt/tedis
16 verbose Linux 4.4.0-57-generic
17 verbose argv "/home/kcech/.nvm/versions/node/v8.2.1/bin/node" "/home/kcech/.nvm/versions/node/v8.2.1/bin/npm" "run" "electron"
18 verbose node v8.2.1
19 verbose npm  v5.3.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] electron: `electron .`
22 error Exit status 1
23 error Failed at the [email protected] electron script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

So far, I did not dig deeper.

@vvondra
Copy link
Owner

vvondra commented Sep 29, 2017

Just asking the obvious, did you run npm install?

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

2 participants