-
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
Permission Denied on Scoped packages #713
Comments
The issue probably is that the owner of the files in |
@ddrozdov I think there is a different cause. The tgz is not even downloaded. This also happens with a specific version of easy-table:
|
probably same as #961 |
@despairblue Why do you think it is not downloaded? |
@ddrozdov ah, I thought you meant that it was downloaded and extracted as root and cannot be accessed as a user. |
This was fixed by DefinitelyTyped/DefinitelyTyped#11932. |
@ddrozdov When I said that it does not download meant that yarn does not put the package in the cache. And that happens because there are packages where the executable bit is not set on directories, yarn does not normalize them (like npm does) and thus cannot access that directory. Then it bails. This can be fixed upstream for new version, sadly this does not work for old packages since it's not allowed to publish over an existing version on the npm registry. Also upgrading is not always an options since this can also happen with transient dependencies, this rabbit hole can go quite deep. I think resolving #961 is the only way to go here, if compatibility is the goal. |
This issue seems fixed, I'm going to close it. If you feel like this is a mistake, please feel free to reopen with repro steps. Thanks! |
Attempting to install
yarn add --dev @types/react-router
generates the following error:Ideally, this would simply install correctly. All the other typings have installed properly.
Specs
Node 6.3.0
Npm 3.10.3
Mac OS Sierra
Iterm 2
Zsh
The text was updated successfully, but these errors were encountered: