JavaScript Executor Build Error
See original GitHub issueBuild failed in Ubuntu 16.04. Error message like this:
[INFO] > protobufjs@6.8.8 postinstall /home/zhongjian/workplace/code/mythingsboard/thingsboad/msa/js-executor/node_modules/protobufjs
[INFO] > node scripts/postinstall
[INFO]
[INFO]
[INFO] > thingsboard-js-executor@2.4.1 install /home/zhongjian/workplace/code/mythingsboard/thingsboad/msa/js-executor
[INFO] > npm run build-proto && pkg -t node10-linux-x64,node10-win-x64 --out-path ./target . && node install.js
[INFO]
[INFO]
[INFO] > thingsboard-js-executor@2.4.1 build-proto /home/zhongjian/workplace/code/mythingsboard/thingsboad/msa/js-executor
[INFO] > pbjs -t static-module -w commonjs -o ./api/jsinvoke.proto.js …/…/application/src/main/proto/jsinvoke.proto
[INFO]
[ERROR] installing jsdoc@^3.5.5
[ERROR] installing tmp@0.0.33
[ERROR] installing uglify-js@^3.3.25
[ERROR] installing espree@^3.5.4
[INFO] > pkg@4.4.0
[INFO] > Fetching base Node.js binaries to PKG_CACHE_PATH
[INFO]
[INFO] > Error! ESOCKETTIMEDOUT
[INFO] > Asset not found by direct link:
[INFO] {“tag”:“v2.6”,“name”:“uploaded-v2.6-node-v10.15.3-win-x64”}
[INFO]
[INFO] > Error! ESOCKETTIMEDOUT
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 2
[ERROR] npm ERR! thingsboard-js-executor@2.4.1 install: npm run build-proto && pkg -t node10-linux-x64,node10-win-x64 --out-path ./target . && node install.js
[ERROR] npm ERR! Exit status 2
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the thingsboard-js-executor@2.4.1 install script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR! /home/zhongjian/.npm/_logs/2019-10-11T15_33_40_148Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:35 min
[INFO] Finished at: 2019-10-11T23:33:40+08:00
Is anybody get this problem? 2019-10-11T15_33_40_148Z-debug.log
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Solved 💯 感谢老铁们 🥇
解决了,看下 . PKG cache目录是不是没有fetched-v10.15.3-linux-x64 and fetched-v10.15.3-win-x64。没有就到这个https://github.com/zeit/pkg-fetch/releases网站手动下载下来。