打包环境:centos 7 Python 2.7.5 npm -v 6.14.4 node -v v14.0.0
打包时报错后手动下载了 linux_electron_deps.tar.gz 压缩包,解压后继续打包,还是报现同的错误。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! wf-pc-chat@0.2.0 package: node scripts/validate.js && node scripts/del.js ./marswrapper.node && node scripts/copy-
proto.js && vue-cli-service electron:build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wf-pc-chat@0.2.0 package 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/software/node_cache/_logs/2021-07-02T15_16_51_698Z-debug.log