lesson 5 error in installing yarn #6081
Replies: 2 comments 3 replies
-
You don't have permissions to run this command, you need to run this command as administrator (root),
or give the current user (ramireddykarthikreddy) permissions. |
Beta Was this translation helpful? Give feedback.
-
ramireddykarthikreddy@Ramireddys-MacBook-Air etherstorage % corepack enable |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
ramireddykarthikreddy@Ramireddys-MacBook-Air ether-simple-storage % npm i -g yarn
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /usr/local/lib/node_modules/yarn
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/yarn'
npm ERR! [Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/yarn'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/usr/local/lib/node_modules/yarn'
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: /Users/ramireddykarthikreddy/.npm/_logs/2023-09-01T16_01_36_765Z-debug-0.log
getting this error can someone please help to to install yarn i am unable to install by this method or even by using corepack enable
Beta Was this translation helpful? Give feedback.
All reactions