linux npm run build,npm run build:linux 总出错

Description

~/electronic-wechat/scripts$ npm run build:linux

electronic-wechat@2.0.0 build:linux /home/tom/electronic-wechat

./scripts/build.sh linux x64

\033[0;31mError\033[0m: you need to npm install electron-packager. Aborting.

npm ERR! Linux 4.10.0-40-generic

npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build:linux"

npm ERR! node v4.2.6

npm ERR! npm v3.5.2

npm ERR! code ELIFECYCLE

npm ERR! electronic-wechat@2.0.0 build:linux: ./scripts/build.sh linux x64

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the electronic-wechat@2.0.0 build:linux script './scripts/build.sh linux x64'.

npm ERR! Make sure you have the latest version of node.js and npm installed.

npm ERR! If you do, this is most likely a problem with the electronic-wechat package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! ./scripts/build.sh linux x64

npm ERR! You can get information on how to open an issue for this project with:

npm ERR! npm bugs electronic-wechat

npm ERR! Or if that isn't available, you can get their info via:

npm ERR! npm owner ls electronic-wechat

npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

npm ERR! /home/tom/electronic-wechat/scripts/npm-debug.log

Specifications

Version of Electron (run $ electron --version): v0.0.0

OS:

Stack trace from the error message (if any)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值