我是靠谱客的博主 活泼灰狼,最近开发中收集的这篇文章主要介绍Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm install) on project js,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

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二次开发的物联网平台推荐:ThingsKit物联网平台

ThingsKit物联网平台预览

最后

以上就是活泼灰狼为你收集整理的Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm install) on project js的全部内容,希望文章能够帮你解决Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm install) on project js所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(203)

评论列表共有 0 条评论

立即
投稿
返回
顶部