Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"error OAuth2 authentication" on: yarn self-update #1778

Closed
Elliot-Evans-95 opened this issue Nov 10, 2016 · 1 comment
Closed

"error OAuth2 authentication" on: yarn self-update #1778

Elliot-Evans-95 opened this issue Nov 10, 2016 · 1 comment

Comments

@Elliot-Evans-95
Copy link

Elliot-Evans-95 commented Nov 10, 2016

Do you want to request a feature or report a bug?
bug

What is the current behavior?
used yarn self-update and it has produced an error:
error OAuth2 authentication requires a token or key & secret to be set at module.exports.__dirname.authenticate (/Users/elliot/.yarn/node_modules/github/lib/index.js:334:23) at Object.<anonymous> (/Users/elliot/.yarn/lib/cli/commands/self-update.js:30:12) at Generator.next (<anonymous>) at step (/Users/elliot/.yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30) at /Users/elliot/.yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14 at F (/Users/elliot/.yarn/node_modules/core-js/library/modules/_export.js:35:28) at Object.<anonymous> (/Users/elliot/.yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12) at Object.run (/Users/elliot/.yarn/lib/cli/commands/self-update.js:99:17) at run (/Users/elliot/.yarn/lib/cli/index.js:237:18) at config.init.then (/Users/elliot/.yarn/lib/cli/index.js:345:12) info Visit http://yarnpkg.com/en/docs/cli/self-update for documentation about this command.
If the current behavior is a bug, please provide the steps to reproduce.

  1. Install yarn via homebrew
  2. entered yarn self-update
  3. error occurred
    What is the expected behavior?
    To update Yarn to the latest version
    Please mention your node.js, yarn and operating system version.
    OS: MAC OC X El Captain.
    Installed via: homebrew.
    Terminal: iTerm2 with zsh
@Daniel15
Copy link
Member

Duplicate(-ish) of #1139. I'm going to close this - Feel free to subscribe to #1139 to get updates on this issue. Thanks for trying Yarn! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants