centos下打包electron_electron centos 下启动失败

“~/.npm/_logs/2018-01-22T02_25_52_120Z-debug.log” 39L, 2422C

0 info it worked if it ends with ok

1 verbose cli [ ‘/usr/local/node/8.9.4/bin/node’,

1 verbose cli ‘/usr/local/node/8.9.4/bin/npm’,

1 verbose cli ‘start’ ]

2 info using npm@4.6.1

3 info using node@v8.9.4

4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]

5 info lifecycle helloworld_electron@1.0.0~prestart: helloworld_electron@1.0.0

6 silly lifecycle helloworld_electron@1.0.0~prestart: no script for prestart, continuing

7 info lifecycle helloworld_electron@1.0.0~start: helloworld_electron@1.0.0

8 verbose lifecycle helloworld_electron@1.0.0~start: unsafe-perm in lifecycle true

9 verbose lifecycle helloworld_electron@1.0.0~start: PATH: /usr/local/node/8.9.4/lib/node_modules/npm/bin/node-gyp-bin:/electron/node_modules/.bin:/usr/local/node/8.9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/b

in:/root/bin

10 verbose lifecycle helloworld_electron@1.0.0~start: CWD: /electron

11 silly lifecycle helloworld_electron@1.0.0~start: Args: [ ‘-c’, ‘electron .’ ]

12 silly lifecycle helloworld_electron@1.0.0~start: Returned: code: 1 signal: null

13 info lifecycle helloworld_electron@1.0.0~start: Failed to exec start script

14 verbose stack Error: helloworld_electron@1.0.0 start:

electron .

14 verbose stack Exit status 1

14 verbose stack at EventEmitter. (/usr/local/node/8.9.4/lib/node_modules/npm/lib/utils/lifecycle.js:279:16)

14 verbose stack at emitTwo (events.js:126:13)

14 verbose stack at EventEmitter.emit (events.js:214:7)

14 verbose stack at ChildProcess. (/usr/local/node/8.9.4/lib/node_modules/npm/lib/utils/spawn.js:40:14)

14 verbose stack at emitTwo (events.js:126:13)

14 verbose stack at ChildProcess.emit (events.js:214:7)

14 verbose stack at maybeClose (internal/child_process.js:925:16)

14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

15 verbose pkgid helloworld_electron@1.0.0

16 verbose cwd /electron

17 verbose Linux 3.10.0-514.el7.x86_64

18 verbose argv “/usr/local/node/8.9.4/bin/node” “/usr/local/node/8.9.4/bin/npm” “start”

19 verbose node v8.9.4

20 verbose npm v4.6.1

21 error code ELIFECYCLE

22 error errno 1

23 error helloworld_electron@1.0.0 start:

electron .

23 error Exit status 1

24 error Failed at the helloworld_electron@1.0.0 start script.

24 error This is probably not a problem with npm. There is likely additional logging output above.

25 verbose exit [ 1, true ]

~

~

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值