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

yarn add global yarn@0.17.8: config.maybeReadManifest is not a function #2015

Closed
appsforartists opened this issue Nov 23, 2016 · 6 comments
Closed

Comments

@appsforartists
Copy link

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

What is the current behavior?
https://gist.github.com/appsforartists/71aa9c12cb32927daba62c488a923659

If the current behavior is a bug, please provide the steps to reproduce.
yarn global add yarn@0.17.8

Please mention your node.js, yarn and operating system version.
yarn@0.16.1
node@6.2.1
macOS@10.11.6

@appsforartists
Copy link
Author

Incidentally, re-running yarn global add yarn@0.17.8 (now that yarn appears to have upgraded) seems to work fine.

@Daniel15
Copy link
Member

Daniel15 commented Nov 24, 2016

Installing Yarn via Yarn is not a supported use case at the moment (also see my comments on #1998) so there's probably bugs with it. In general, global packages may need some more love, as Yarn has mainly been focused on project-specific dependencies.

@Daniel15
Copy link
Member

The correct way to upgrade Yarn using Yarn is to use the self-update command (https://yarnpkg.com/en/docs/cli/self-update), but I don't think it's fully-functional yet. Eventually it will upgrade Yarn using the same installation method you originally used (varies based on platform)

@BYK
Copy link
Member

BYK commented Jan 24, 2018

Closing since this issue seems to be quite stale. Also, we do not support installing yarn from npm as @Daniel15 mentioned earlier.

@BYK BYK closed this as completed Jan 24, 2018
@appsforartists
Copy link
Author

Are the plans for self-update to ever work, or is Homebrew the only supported upgrade path?

@Daniel15
Copy link
Member

Daniel15 commented Jan 24, 2018 via email

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

3 participants