码迷,mamicode.com
首页 > Web开发 > 详细

thingsboard编译错误 Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm install) on project js-executor: Failed to run task: 'npm install' failed.

时间:2020-03-06 23:57:04      阅读:441      评论:0      收藏:0      [点我收藏+]

标签:exe   asc   rac   交流   exce   ogg   tps   错误   code   

thingsboard 报一下错误,请参考:

Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm install) on project js-executor: Failed to run task: ‘npm install‘ failed.

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm install) on project js-executor: Failed to run task: 'npm install' failed. (error code 2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :js-executor

技术图片

确认你这个目录下面有对应的文件吗?

2.4版本使用的是:fetched-v10.15.3

3.0版本使用的是:fetched-v10.17.0

文件如何下载,请参考:https://www.iotschool.com/wiki/tbinstall#JavaScript%20Executor%E7%BC%96%E8%AF%91%E5%A4%B1%E8%B4%A5

下载地址:https://github.com/zeit/pkg-fetch/releases

技术图片

欢迎大家加入thingsboard 二次开发讨论群:121202538

thingsboard编译错误 Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm install) on project js-executor: Failed to run task: 'npm install' failed.

标签:exe   asc   rac   交流   exce   ogg   tps   错误   code   

原文地址:https://www.cnblogs.com/iotschool/p/12431609.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!