Yarn install in mac error #5170
shubhangicatch
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ,
Trying to install yarn in mac by following command sudo npm install --global yarn and it says added 1 pacakge.But when i am running command yarn -v or yarn its throwing below error.
Error: ENOTDIR: not a directory, open '/Users/shubhangishukla/.config/yarn'
at Object.openSync (node:fs:584:3)
at readFileSync (node:fs:452:35)
at /usr/local/lib/node_modules/yarn/lib/cli.js:97395:58
at Array.map ()
at parseRcPaths (/usr/local/lib/node_modules/yarn/lib/cli.js:97393:78)
at Object.findRc (/usr/local/lib/node_modules/yarn/lib/cli.js:97407:10)
at getRcConfigForCwd (/usr/local/lib/node_modules/yarn/lib/cli.js:56965:74)
at /usr/local/lib/node_modules/yarn/lib/cli.js:88756:56
at Generator.next ()
at step (/usr/local/lib/node_modules/yarn/lib/cli.js:310:30)
Kindly help me on this.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions