Scripts run with yarn run
seem to break npm
auth.
Tested on:
- macOS 10.12.6
- node v8.11.0
- npm v5.8.0
- yarn v1.6.0
- Delete or move
.yarnrc
yarn cache clean
- Ensure
.npmrc
is set up properly with anauthToken
npm whoami
worksnpm run who
worksyarn run who
fails withENEEDAUTH
yarn config set registry https://registry.npmjs.org
yarn run who
works