question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JavaScript Executor Build Error

See original GitHub issue

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? 2019-10-11T15_33_40_148Z-debug.log

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
sww0825521xycommented, Nov 27, 2019

Solved 💯 感谢老铁们 🥇

1reaction
jalor-zjcommented, Oct 16, 2019

老铁解决了没,我也是这个问题

解决了,看下 . PKG cache目录是不是没有fetched-v10.15.3-linux-x64 and fetched-v10.15.3-win-x64。没有就到这个https://github.com/zeit/pkg-fetch/releases网站手动下载下来。

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaScript Error Handling with Javascriptexecutor in Selenium
Javascript error handling is painful in selenium webdriver test automation projects. We learn how to handle javascript errors with ...
Read more >
JavascriptExecutor cannot be resolved to a type - Stack Overflow
I believe you are missing a boolean statement in your js-snippet. Try ((JavascriptExecutor) driver).executeScript("arguments[0].
Read more >
JavaScript Executor Microservice BUILD FAILURE · Issue #1258
Failed at the thingsboard-js-executor@2.2.0 build-proto script. [ERROR] npm ERR! This is probably not a problem with npm. There is likely ...
Read more >
Error using Javascript Executor - Testing AMA - q2a site for ...
There is a typing mistake in your Javascript. It should be window.scroll. You are using windows.scroll. You can even try scrolling up should ......
Read more >
JavaScriptExecutor in Selenium WebDriver with Example
Selenium supports javaScriptExecutor. There is no need for an extra plugin or add-on. You just need to import (org.openqa.selenium.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found