-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Throw permission error when using node@v2.1.1 #177
Comments
Older versions of the action do not have this issue (e.g. |
I looked into the code and found the reason for this. In v1 there was a default set that was used when no version was specified: Line 10 in 56899e0
In v2 this default is gone which is IMO intended, so setup-node won't do anything with the already existing node installations on the machine. As the runner runs with the To use the existing node version to install global packages you should just put a |
Hello everyone. I think the issue was fixed from virtual-environments side. I've tried to reproduce the issues on the hosted images from my side but it works as expected. Could you please confirm that it works for you ? |
Yeah! It's working now :) |
…ions#177) Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.3.1 to 3.4.0. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/commits) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
When I'm trying to install a package globally it throws an error "Error: EACCES: permission denied, access '/usr/local/lib/node_modules'"
Was installing lighthouse CLI using "npm i -g @lhci/cli@0.4.x"
The text was updated successfully, but these errors were encountered: