failed to execute goal com.github.eirslett:frontend-威尼斯人最新

page · 2020年03月05日 · 最后由 回复于 2022年09月03日 · 5555 次阅读
[info] ------------------------------------------------------------------------
[info] reactor summary for thingsboard 3.0.0-snapshot:
[info]
[info] thingsboard ........................................ success [  0.878 s]
[info] netty mqtt client .................................. success [  1.991 s]
[info] thingsboard server commons ......................... success [  0.080 s]
[info] thingsboard server common data ..................... success [  5.836 s]
[info] thingsboard server common utils .................... success [  0.247 s]
[info] thingsboard server common messages ................. success [  9.960 s]
[info] thingsboard server queue components ................ success [  0.542 s]
[info] thingsboard server commons ......................... success [  0.027 s]
[info] thingsboard server common transport components ..... success [ 10.231 s]
[info] thingsboard mqtt transport common .................. success [  0.867 s]
[info] thingsboard http transport common .................. success [  0.491 s]
[info] thingsboard coap transport common .................. success [  0.956 s]
[info] thingsboard server common dao api .................. success [  1.330 s]
[info] thingsboard extensions ............................. success [  0.041 s]
[info] thingsboard rule engine api ........................ success [  1.035 s]
[info] thingsboard server dao layer ....................... success [ 59.488 s]
[info] thingsboard rule engine components ................. success [  5.554 s]
[info] thingsboard server transport modules ............... success [  0.023 s]
[info] thingsboard http transport service ................. success [  9.798 s]
[info] thingsboard mqtt transport service ................. success [  5.203 s]
[info] thingsboard coap transport service ................. success [  4.718 s]
[info] thingsboard server ui .............................. failure [11:51 min]
[info] thingsboard server tools ........................... skipped
[info] thingsboard rest client ............................ skipped
[info] thingsboard server application ..................... skipped
[info] thingsboard microservices .......................... skipped
[info] thingsboard docker images .......................... skipped
[info] thingsboard javascript executor microservice ....... skipped
[info] thingsboard web ui microservice .................... skipped
[info] thingsboard node microservice ...................... skipped
[info] thingsboard transport microservices ................ skipped
[info] thingsboard mqtt transport microservice ............ skipped
[info] thingsboard http transport microservice ............ skipped
[info] thingsboard coap transport microservice ............ skipped
[info] thingsboard black box tests ........................ skipped
[info] ------------------------------------------------------------------------
[info] build failure
[info] ------------------------------------------------------------------------
[info] total time:  13:51 min
[info] finished at: 2020-03-05t20:49:0008:00
[info] ------------------------------------------------------------------------
[error] failed to execute goal com.github.eirslett:frontend-maven-plugin:1.7.5:npm (npm install) on project ui-ngx: failed to run task: 'npm install' failed. org.apache.commons.exec.executeexception: process exited with an error: -4048 (exit value: -4048)
-> [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

又开在这里了

检查是否使用了淘宝镜像源,如果是可以尝试切换回官方镜像源,然后执行一下步骤:

1、删除本地设置的淘宝镜像源

命令地址:https://www.iotschool.com/wiki/tbinstall#设置npm为淘宝镜像

2、删除 ui 目录下面的 node_modules 文件夹

3、关闭 idea,杀掉 java 进程,重启 idea

4、执行

mvn clean install -dskiptests

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

thingsboard 编译太难了

home ui-ngx 安装依赖包失败咋搞 中提及了此贴 03月10日 15:23

这个地方在 ui 编译中我出现了 ail to run task "npm run build" 的错误,原因是我的 nodejs 版本 10.12.6 过低不支持,我改到 12.16.2,npm 版本是 6.14.4,然后删除 node_modules 再重新编译就成功了

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
网站地图