Здравствуйте, я попробовал следующее:
yarn -v
=>
1.3.2
brew list yarn
=>
/usr/local/Cellar/yarn/1.13.0/bin/yarn
/usr/local/Cellar/yarn/1.13.0/bin/yarnpkg
/usr/local/Cellar/yarn/1.13.0/libexec/bin/ (5 files)
/usr/local/Cellar/yarn/1.13.0/libexec/lib/ (2 files)
/usr/local/Cellar/yarn/1.13.0/libexec/package.json
brew switch yarn 1.13.0
=>
Cleaning /usr/local/Cellar/yarn/0.24.6
Cleaning /usr/local/Cellar/yarn/1.7.0
Cleaning /usr/local/Cellar/yarn/1.13.0
Cleaning /usr/local/Cellar/yarn/1.12.3
2 links created for /usr/local/Cellar/yarn/1.13.0
Но yarn -v
все еще => 1.3.2
Тоже не на нпм
npm list -g --depth=0
=>
/Users/johndoe/.nvm/versions/node/v9.11.1/lib
├── error: ENOENT: no such file or directory, stat '/Users/johndoe/.nvm/versions/node/v9.11.1/lib/node_modules/@particles/dashboard
├── error: ENOENT: no such file or directory, stat '/Users/johndoe/.nvm/versions/node/v9.11.1/lib/node_modules/@particles/navigation-tiers
├── create-react-native-app@1.0.0
├── exp@51.4.0
├── error: ENOENT: no such file or directory, stat '/Users/johndoe/.nvm/versions/node/v9.11.1/lib/node_modules/my-procore
├── node-gyp@3.8.0
├── npm@5.6.0
└── react-native-cli@2.0.1