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

GitHub Actionsで利用するNode.jsを setup-node を使うように変更 #36

Merged
merged 1 commit into from
May 28, 2024

Conversation

blue-goheimochi
Copy link
Owner

概要

https://github.com/blue-goheimochi/php-metrics-tools/actions/runs/8568816856/job/23550160230#step:3:25

Run npm install -g bats
  npm install -g bats
  shell: /usr/bin/bash -e {0}
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /usr/local/share/man/man7
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/share/man/man7'
npm ERR!  [Error: EACCES: permission denied, mkdir '/usr/local/share/man/man7'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: '/usr/local/share/man/man7'
npm ERR! }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: /home/runner/.npm/_logs/[2](https://github.com/blue-goheimochi/php-metrics-tools/actions/runs/8568816856/job/23550160230#step:3:2)024-04-08T06_16_43_2[3](https://github.com/blue-goheimochi/php-metrics-tools/actions/runs/8568816856/job/23550160230#step:3:3)7Z-debug-0.log
Error: Process completed with exit code 2[4](https://github.com/blue-goheimochi/php-metrics-tools/actions/runs/8568816856/job/23550160230#step:3:5)3.

何かのタイミングで上記のエラーになるようになってしまった。

ので、Node.jsを setup-node を使う方法に変更した。

@blue-goheimochi blue-goheimochi merged commit cf097f4 into main May 28, 2024
2 checks passed
@blue-goheimochi blue-goheimochi deleted the fix/use-setup-node branch May 28, 2024 12:29
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.

1 participant