-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Cannot globally install any package: "expected manifest" #1824
Comments
Same error with jscodeshift
Node: 7.1.0 |
Can confirm on macOS |
Fix Invariant Violation: expected manifest from GlobalAdd (regressed by #1757)
|
Can't install any package globally here either. macOS 10.12.1. |
Same problem on Ubuntu (as expected from the macOS reports above) |
Same thing here. |
|
OK. Was on node |
Also confirming the issue. |
Same issue here |
WorkaroundIf you want a workaround right now for installing global packages, use
This works with any exact yarn global add webpack@latest # equivalent to: yarn global add webpack
yarn global add [email protected] # explicit version
yarn global add [email protected] # prerelease version
yarn global add webpack@beta # a custom dist-tag published for webpack
yarn global add webpack@^1.13.1 # semver range, will install 1.13.3
yarn global add webpack@\* # will also install 1.13.3 As far as I can tell, you just need an |
same issue |
Same issue, but if I install grunt-cli package with |
nodemon is also not linked using |
Same issue with |
Closes #6915. Signed-off-by: Mike McQuaid <[email protected]>
For anyone who needs to rollback while waiting for this fix, first uninstall the current version of yarn and then just do:
Make sure to uninstall and then reinstall global dependencies to include bin linking.
|
@arxpoetica could you please provide more details about the following?
because after doing a rollback to yarn 0.16.1, I get the following error when running
|
@iraklisg I'm not sure I'll be much help, but good news, they've releases a fix in https://github.com/yarnpkg/yarn/releases/tag/v0.17.2 |
@arxpoetica, indeed, I have updated yarn to |
like #1824 (comment) said. |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Output when trying to install
create-react-app
as it's the example here.From the log:
If the current behavior is a bug, please provide the steps to reproduce.
yarn global add create-react-app
)What is the expected behavior?
Should globally install the package.
Please mention your node.js, yarn and operating system version.
Node: 7.1.0
Yarn: 0.17.0
OS: Antergos Linux release 16.6 (ISO-Rolling), Linux version 4.8.7-1-ARCH
The text was updated successfully, but these errors were encountered: