Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🫥 chown fix for npm error 🫥 #748

Merged
merged 3 commits into from
Apr 8, 2024
Merged

🫥 chown fix for npm error 🫥 #748

merged 3 commits into from
Apr 8, 2024

Conversation

ckavili
Copy link
Contributor

@ckavili ckavili commented Apr 7, 2024

What is this PR About?

NPM builds get below error while using this agent:

npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /home/jenkins/.npm/_cacache
npm ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR! sudo chown -R 1000790000:0 "/home/jenkins/.npm"

How do we test this?

Adding the step that npm suggests in the above error

cc: @redhat-cop/day-in-the-life

@ckavili ckavili requested review from eformat and springdo April 7, 2024 20:30
@ckavili ckavili requested a review from a team as a code owner April 7, 2024 20:30
@springdo
Copy link
Contributor

springdo commented Apr 8, 2024

Merging as this is blocking TL500 run - FYI @garethahealy 🔥

@springdo springdo merged commit 8923dc8 into redhat-cop:main Apr 8, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants