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

[0.17.0] Cannot add dependency in org/repo format #1818

Closed
danielkcz opened this issue Nov 14, 2016 · 6 comments
Closed

[0.17.0] Cannot add dependency in org/repo format #1818

danielkcz opened this issue Nov 14, 2016 · 6 comments

Comments

@danielkcz
Copy link

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

What is the current behavior?
Error log

If the current behavior is a bug, please provide the steps to reproduce.
yarn cache clean
yarn init
yarn add blackdice/errorception

What is the expected behavior?
To install dependency

Please mention your node.js, yarn and operating system version.
Node 6.9.1, Windows 10 x64, Yarn 0.17.0

@scholtzm
Copy link

scholtzm commented Nov 14, 2016

I was just about to report this.

Adding the same dependency with v0.16.1 works flawlessly though. Must be a regression in v0.17.

@scothis
Copy link

scothis commented Nov 14, 2016

Digging into the yarn cache, the dependency is saved to disk without a sha, the read from the cache is looking with the sha.

dereksmart added a commit to Automattic/jetpack that referenced this issue Nov 14, 2016
Yarn 0.17.0 has some issues installing dependencies from external repositories.  Let's make sure to install only the yarn version that works until we have time to test upcoming yarn releases, as this breaks the build when using the build script.

related yarn issue: yarnpkg/yarn#1818
dereksmart added a commit to Automattic/jetpack that referenced this issue Nov 14, 2016
Yarn 0.17.0 has some issues installing dependencies from external repositories.  Let's make sure to install only the yarn version that works until we have time to test upcoming yarn releases, as this breaks the build when using the build script.

related yarn issue: yarnpkg/yarn#1818
@bestander
Copy link
Member

Anyone wants to submit a PR?

@bestander
Copy link
Member

Is this bug the same as #1834?

@wyze
Copy link
Member

wyze commented Nov 16, 2016

@bestander Yes it is. If I apply the fix in #1871 this works fine.

@bestander
Copy link
Member

Let's close it then

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

5 participants