Closed gaoJava closed 3 years ago
Some package is not stable to download. Please have another try to see if this issue can be reproduced. Please reopen this issue if you need more discussion.
I fixed it by replacing node.version it in {SSM_HOME}/smart-zeppelin/zeppelin-web/pom.xml
<properties>
<node.version>v16.15.0</node.version> -- was the node.version>v8.0.0
<yarn.version>v0.27.5</yarn.version>
[INFO] --- frontend-maven-plugin:1.3:install-node-and-npm (install node and yarn) @ smart-zeppelin-web --- [INFO] Installing node version v8.0.0 [INFO] Copying node binary from C:\Users\AMD.m2\repository\com\github\eirslett\node\8.0.0\node-8.0.0-win-x64.exe to E:\SSM-trunk\smart-zeppelin\zeppelin-web\node\node.exe [INFO] Installed node locally. [INFO] Installing npm version 4.2.0 [INFO] Unpacking C:\Users\AMD.m2\repository\com\github\eirslett\npm\4.2.0\npm-4.2.0.tar.gz into E:\SSM-trunk\smart-zeppelin\zeppelin-web\node\node_modules [INFO] Installed npm locally. [INFO] [INFO] --- frontend-maven-plugin:1.3:yarn (yarn install) @ smart-zeppelin-web --- [INFO] Running 'yarn install --no-lockfile' in E:\SSM-trunk\smart-zeppelin\zeppelin-web [ERROR] 拒绝访问。 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for SmartData Project 1.6.0-SNAPSHOT: [INFO] [INFO] smart-maven-plugins ................................ SUCCESS [ 16.152 s] [INFO] SmartData Project .................................. SUCCESS [ 3.418 s] [INFO] smart-metrics ...................................... SUCCESS [ 5.679 s] [INFO] smart-common ....................................... SUCCESS [ 46.062 s] [INFO] smart-action ....................................... SUCCESS [ 4.411 s] [INFO] smart-metastore .................................... SUCCESS [ 10.685 s] [INFO] smart-client ....................................... SUCCESS [ 3.547 s] [INFO] smart-admin ........................................ SUCCESS [ 3.415 s] [INFO] smart-hadoop-support ............................... SUCCESS [ 0.331 s] [INFO] smart-hadoop-common ................................ SUCCESS [ 6.213 s] [INFO] smart-hadoop-3.1 ................................... SUCCESS [ 9.667 s] [INFO] smart-inputstream .................................. SUCCESS [ 5.720 s] [INFO] smart-hadoop ....................................... SUCCESS [ 14.075 s] [INFO] smart-rule ......................................... SUCCESS [ 16.846 s] [INFO] smart-hadoop-client-3.1 ............................ SUCCESS [ 13.454 s] [INFO] smart-engine ....................................... SUCCESS [ 13.311 s] [INFO] Zeppelin ........................................... SUCCESS [ 7.715 s] [INFO] Zeppelin: Interpreter .............................. SUCCESS [ 20.654 s] [INFO] Zeppelin: Zengine .................................. SUCCESS [ 16.171 s] [INFO] Zeppelin: Server ................................... SUCCESS [ 22.359 s] [INFO] smart-server ....................................... SUCCESS [ 15.284 s] [INFO] Zeppelin: Display system apis ...................... SUCCESS [ 46.510 s] [INFO] Zeppelin: web Application .......................... FAILURE [ 34.132 s] [INFO] Zeppelin: Packaging distribution ................... SKIPPED [INFO] smart-agent ........................................ SKIPPED [INFO] smart-integration .................................. SKIPPED [INFO] smart-dist ......................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:38 min [INFO] Finished at: 2021-03-03T14:53:20+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:yarn (yarn install) on project smart-zeppelin-web: Failed to run task: 'yarn install --no-lockf ile' failed. (error code 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:yarn (yarn install) on project smart-zeppelin-w eb: Failed to run task at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoFailureException: Failed to run task at com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute (AbstractFrontendMojo.java:95) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (Delegating.java:43) 498)
Caused by: com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'yarn install --no-lockfile' failed. (error code 1) at com.github.eirslett.maven.plugins.frontend.lib.YarnTaskExecutor.execute (YarnTaskExecutor.java:61) at com.github.eirslett.maven.plugins.frontend.mojo.YarnMojo.execute (YarnMojo.java:65) at com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute (AbstractFrontendMojo.java:89) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [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 :smart-zeppelin-web