mac に yarn をインストールしようとしていますが、yarn はインストールされますが、yarn コマンドの実行が次のエラーでハングします。
>糸
TypeError: Cannot read property 'yarnPath' of null
at loadRcFile (/usr/local/lib/node_modules/yarn/lib/cli.js:56945:49)
at /usr/local/lib/node_modules/yarn/lib/cli.js:56916:14
at /usr/local/lib/node_modules/yarn/lib/cli.js:101331:14
at Array.map (<anonymous>)
at parseRcPaths (/usr/local/lib/node_modules/yarn/lib/cli.js:101329:78)
at Object.findRc (/usr/local/lib/node_modules/yarn/lib/cli.js:101343:10)
at getRcConfigForCwd (/usr/local/lib/node_modules/yarn/lib/cli.js:56915:74)
at /usr/local/lib/node_modules/yarn/lib/cli.js:92694:56
at Generator.next (<anonymous>)
at step (/usr/local/lib/node_modules/yarn/lib/cli.js:310:30)
糸をアンインストールして再インストールしようとしました
npm uninstall -g yarn && npm install -g yarn
それはこの問題を解決しませんでした。助けてくれてありがとう...乾杯!