-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
npm install -g jasmine #122
Comments
No, installing with sudo will cause other problems.
…On Mon, 11 Jan 2021, 11:03 AM Daniel, ***@***.***> wrote:
npm install -g jasmine leads to the following errors for me:
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/local/lib/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
npm ERR! [Error: EACCES: permission denied, access '/usr/local/lib/node_modules'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules'
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.
Should it be run as sudo?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#122>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPNPFA22V2IPI6NZSLXJD3SZIPZVANCNFSM4V4YFKAA>
.
|
Are you on a Mac by any chance? |
Anyway, give this thread a look for a few possible answers: |
No idea what I did there but the first answer did the trick 👍 |
This was referenced Oct 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
npm install -g jasmine
leads to the following errors for me:Should it be run as
sudo
?The text was updated successfully, but these errors were encountered: