thingsboard编译错误 Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm instal

Posted Yunteng.com 云腾

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了thingsboard编译错误 Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm instal相关的知识,希望对你有一定的参考价值。

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 instal的主要内容,如果未能解决你的问题,请参考以下文章

thingsboard 2.4.3 编译报错Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:

Jenkins编译过程中出现ERROR_ Failed to parse POMs错误

错误记录Android Studio 编译报错 ( Gradle 下载错误导致 Failed to open zip file 报错 )

PX4编译报:Failed to import toml: No module named 'toml'错误解决方法

iOS 编译错误 linker command failed with exit code 1 use v to see invocation

ThingsBoard——Docker重启失败,报错Connection to localhost:5432 refused的解决方法