Thingsboard thingsboard JavaScript Executor 编译错误

page · 2020年03月15日 · 最后由 wj15615 回复于 2020年09月23日 · 527 次阅读
Build 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?

参考社区 WIKI,有解决办法

iot 回复

怎么个参考法???

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册