centos下打包electron_electron centos 下报错问题

在CentOS系统中,尝试使用electron打包应用时遇到问题。执行`electron -v`无响应,而`npm start`启动应用时返回错误代码1,详细日志显示生命周期脚本执行失败,可能原因涉及环境配置或依赖冲突。需要进一步排查 Electron、Node.js 和 npm 的配置及依赖问题。
摘要由CSDN通过智能技术生成

1:electron -v 后无任何输出也没报错

2:npm start 后报错如下

"~/.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~

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值