-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problems installing yarn with npm #36
Comments
Hi ! This simply means that npm is not allowed to write to the |
Hi! Actually, rigth now I have this (base) an@DESKTOP-IU637JE:/mnt/c/Users/Alitnery/Documents/Programas_Linux$ npm install -g npm npm ERR! A complete log of this run can be found in: #and (base) an@DESKTOP-IU637JE:~$ mv .npm /Programas:Linux I do not what to do to fix it |
try sudo npm install --global yarn |
#This is all my problem
---> npm install --global yarn
npm WARN checkPermissions Missing write access to /usr/local/lib
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/local/lib
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access '/usr/local/lib'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib' }
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:
npm ERR! /home/an/.npm/_logs/2021-05-31T19_05_04_058Z-debug.log
The text was updated successfully, but these errors were encountered: