You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am receiving the below error on Linux but it is working fine when I build the project on Windows. The permission on the folders looks fine. How to fix this error?
[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:06 min [INFO] Finished at: 2020-02-03T07:11:02-06:00 [INFO] Final Memory: 22M/371M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:install-node-and-npm (install node and npm) on project pco-frontend: Could not install Node: Unable to delete directory /NAS/Fordata/Jenkins/workspace/usalpapjkb01/55c09f24/workspace/PCO-Data-Viewer/build-pipeline/pco-frontend/node/tmp/node-v12.13.1-linux-x64/include/node/openssl/archs/linux-armv4/asm/include. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:install-node-and-npm (install node and npm) on project pco-frontend: Could not install Node: Unable to delete directory /NAS/Fordata/Jenkins/workspace/usalpapjkb01/55c09f24/workspace/PCO-Data-Viewer/build-pipeline/pco-frontend/node/tmp/node-v12.13.1-linux-x64/include/node/openssl/archs/linux-armv4/asm/include. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) 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:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoFailureException: Could not install Node: Unable to delete directory /NAS/Fordata/Jenkins/workspace/usalpapjkb01/55c09f24/workspace/PCO-Data-Viewer/build-pipeline/pco-frontend/node/tmp/node-v12.13.1-linux-x64/include/node/openssl/archs/linux-armv4/asm/include. at com.github.eirslett.maven.plugins.frontend.mojo.MojoUtils.toMojoFailureException(MojoUtils.java:28) at com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute(AbstractFrontendMojo.java:103) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: com.github.eirslett.maven.plugins.frontend.lib.InstallationException: Could not install Node at com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller.installNodeDefault(NodeInstaller.java:207) at com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller.install(NodeInstaller.java:97) at com.github.eirslett.maven.plugins.frontend.mojo.InstallNodeAndNpmMojo.execute(InstallNodeAndNpmMojo.java:101) at com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute(AbstractFrontendMojo.java:94) ... 22 more Caused by: java.io.IOException: Unable to delete directory /NAS/Fordata/Jenkins/workspace/usalpapjkb01/55c09f24/workspace/PCO-Data-Viewer/build-pipeline/pco-frontend/node/tmp/node-v12.13.1-linux-x64/include/node/openssl/archs/linux-armv4/asm/include. at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:873) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller.deleteTempDirectory(NodeInstaller.java:320) at com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller.installNodeDefault(NodeInstaller.java:202) ... 25 more [ERROR] [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 :pco-frontend
The text was updated successfully, but these errors were encountered:
I am receiving the below error on Linux but it is working fine when I build the project on Windows. The permission on the folders looks fine. How to fix this error?
[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:06 min [INFO] Finished at: 2020-02-03T07:11:02-06:00 [INFO] Final Memory: 22M/371M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:install-node-and-npm (install node and npm) on project pco-frontend: Could not install Node: Unable to delete directory /NAS/Fordata/Jenkins/workspace/usalpapjkb01/55c09f24/workspace/PCO-Data-Viewer/build-pipeline/pco-frontend/node/tmp/node-v12.13.1-linux-x64/include/node/openssl/archs/linux-armv4/asm/include. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:install-node-and-npm (install node and npm) on project pco-frontend: Could not install Node: Unable to delete directory /NAS/Fordata/Jenkins/workspace/usalpapjkb01/55c09f24/workspace/PCO-Data-Viewer/build-pipeline/pco-frontend/node/tmp/node-v12.13.1-linux-x64/include/node/openssl/archs/linux-armv4/asm/include. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) 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:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoFailureException: Could not install Node: Unable to delete directory /NAS/Fordata/Jenkins/workspace/usalpapjkb01/55c09f24/workspace/PCO-Data-Viewer/build-pipeline/pco-frontend/node/tmp/node-v12.13.1-linux-x64/include/node/openssl/archs/linux-armv4/asm/include. at com.github.eirslett.maven.plugins.frontend.mojo.MojoUtils.toMojoFailureException(MojoUtils.java:28) at com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute(AbstractFrontendMojo.java:103) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: com.github.eirslett.maven.plugins.frontend.lib.InstallationException: Could not install Node at com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller.installNodeDefault(NodeInstaller.java:207) at com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller.install(NodeInstaller.java:97) at com.github.eirslett.maven.plugins.frontend.mojo.InstallNodeAndNpmMojo.execute(InstallNodeAndNpmMojo.java:101) at com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute(AbstractFrontendMojo.java:94) ... 22 more Caused by: java.io.IOException: Unable to delete directory /NAS/Fordata/Jenkins/workspace/usalpapjkb01/55c09f24/workspace/PCO-Data-Viewer/build-pipeline/pco-frontend/node/tmp/node-v12.13.1-linux-x64/include/node/openssl/archs/linux-armv4/asm/include. at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:873) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1239) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:903) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869) at com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller.deleteTempDirectory(NodeInstaller.java:320) at com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller.installNodeDefault(NodeInstaller.java:202) ... 25 more [ERROR] [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 :pco-frontend
The text was updated successfully, but these errors were encountered: