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 -rf :js-executor
确认你这个目录下面有对应的文件吗?
2.4版本使用的是:fetched-v10.15.3
3.0版本使用的是:fetched-v10.17.0
下载地址:https://github.com/zeit/pkg-fetch/releases
相关推荐: ThingsBoard物联网平台之MQTT设备协议简介
ThingsBoard简介: ThingsBoard是一个开源的物联网平台,用于数据收集、处理、可视化和设备管理。它支持使用MQTT、CoAP和HTTP等标准物联网协议进行设备连接,并适用于云和本地部署。ThingsBoard提供可扩展、容错且高性能的服务,…