-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
This appears to be an NPM path error
[DEBUG] Configuring mojo com.github.eirslett:frontend-maven-plugin:1.12.0:npm from plugin realm ClassRealm[plugin>com.github.eirslett:frontend-maven-plugin:1.12.0, parent: sun.misc.Launcher$AppClassLoader@1b6d3586]
[DEBUG] Configuring mojo 'com.github.eirslett:frontend-maven-plugin:1.12.0:npm' with basic configurator -->
[DEBUG] (f) arguments = install
[DEBUG] (f) npmInheritsProxyConfigFromMaven = true
[DEBUG] (f) project = MavenProject: io.jenkins.blueocean:jenkins-design-language:1.25.2 @ /build/jenkins-design-language/pom.xml
[DEBUG] (f) repositorySystemSession = org.eclipse.aether.DefaultRepositorySystemSession@440d45c5
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@21de60a7
[DEBUG] (f) skipTests = true
[DEBUG] (f) testFailureIgnore = true
[DEBUG] (f) workingDirectory = /build/jenkins-design-language
[DEBUG] (f) execution = com.github.eirslett:frontend-maven-plugin:1.12.0:npm {execution: npm install}
[DEBUG] – end configuration –
[INFO] testFailureIgnore property is ignored in non test phases
[INFO] Running 'npm install' in /build/jenkins-design-language
[DEBUG] Executing command line [/build/jenkins-design-language/node/node, /build/jenkins-design-language/node/node_modules/npm/bin/npm-cli.js, install]
[INFO] npm ERR! correctMkdir failed to make directory /.npm/_locks
[INFO] npm ERR! code EACCES
[INFO] npm ERR! syscall mkdir
[INFO] npm ERR! path /.npm
[INFO] npm ERR! errno -13
[INFO] npm ERR!
[INFO] npm ERR! Your cache folder contains root-owned files, due to a bug in
[INFO] npm ERR! previous versions of npm which has since been addressed.
[INFO] npm ERR!
[INFO] npm ERR! To permanently fix this problem, please run:
[INFO] npm ERR! sudo chown -R 1828693009:0 "/.npm"