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

[BUG] Does not install git dependencies correctly, does not run "prepare" script. #7910

Closed
trusktr opened this issue Feb 15, 2020 · 2 comments

Comments

@trusktr
Copy link

trusktr commented Feb 15, 2020

Will this be fixed in Yarn 2?

Bug description

Command

yarn add "code-vue@trusktr/live-code#6085bf5ca1a7faa5ea021a0fc61f6ba08e08030d"

What is the current behavior?

when you look in node_modules/code-vue/ you will see it does not have a dist folder.

What is the expected behavior?

However when running

npm i "code-vue@trusktr/live-code#6085bf5ca1a7faa5ea021a0fc61f6ba08e08030d"

then you will see that node_modules/code-vue/dist exists, as expected.

Steps to Reproduce

Just run that above yarn command to add that package to a project, then see node_modules/code-vue/dist does not exist.

Environment

  • Node Version: 13.8
  • Yarn v1 Version: 1.22.0
  • OS and version: Manjaro Linux
@gnprice
Copy link

gnprice commented May 25, 2022

It looks like this is the same issue as #5235. Unfortunately, the outcome there is: #5235 (comment)

This issue is fixed in Yarn 2+, and the fix will not be backported in 1.x. Please check the Migration guide and continue from there.

@merceyz
Copy link
Member

merceyz commented May 25, 2022

Duplicate of #5235

@merceyz merceyz marked this as a duplicate of #5235 May 25, 2022
@merceyz merceyz closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2022
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