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

self-update throws error #612

Closed
danez opened this issue Oct 11, 2016 · 1 comment · Fixed by #676
Closed

self-update throws error #612

danez opened this issue Oct 11, 2016 · 1 comment · Fixed by #676
Labels

Comments

@danez
Copy link
Contributor

danez commented Oct 11, 2016

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

What is the current behavior?

yarn self-update v0.15.0
error OAuth2 authentication requires a token or key & secret to be set
    at __dirname.authenticate (/Users/danieltschinder/.yarn/node_modules/github/lib/index.js:334:23)
    at Object.<anonymous> (/Users/danieltschinder/.yarn/lib-legacy/cli/commands/self-update.js:36:12)
    at next (native)
    at step (/Users/danieltschinder/.yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
    at /Users/danieltschinder/.yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14
    at new Promise (/Users/danieltschinder/.yarn/node_modules/core-js/library/modules/es6.promise.js:191:7)
    at Object.<anonymous> (/Users/danieltschinder/.yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12)
    at Object.run (/Users/danieltschinder/.yarn/lib-legacy/cli/commands/self-update.js:105:17)
    at run (/Users/danieltschinder/.yarn/lib-legacy/cli/index.js:249:18)
    at /Users/danieltschinder/.yarn/lib-legacy/cli/index.js:357: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.

❯ yarn self-update

What is the expected behavior?

Update

Please mention your node.js, yarn and operating system version.

node 4.6.0
yarn 0.15.0
macOS 10.12.0

@ggmathur
Copy link

Seems like a relevant comment: https://github.com/yarnpkg/yarn/blob/master/src/cli/commands/self-update.js#L38

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

Successfully merging a pull request may close this issue.

3 participants