[Blueocean] Build on OS X fails

37 views
Skip to first unread message

Sean McLinden

unread,
Dec 14, 2021, 5:18:12 PM12/14/21
to Jenkins Users
It appears to be a issue related to NPM installs.

The relevant output is:

:[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@5d28e108

[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@5ff6dd3c

[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"

[INFO] -----------------------------------------------------


Ssuggestions appreciated!



Reply all
Reply to author
Forward
0 new messages