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 rebuild (Feature request) #5271

Closed
ctcpip opened this issue Jan 23, 2018 · 3 comments
Closed

yarn rebuild (Feature request) #5271

ctcpip opened this issue Jan 23, 2018 · 3 comments
Assignees
Labels
fixed-in-modern This issue has been fixed / implemented in Yarn 2+. triaged

Comments

@ctcpip
Copy link

ctcpip commented Jan 23, 2018

Npm has npm rebuild to rebuild compiled packages (eg, node-sass). we need this in yarn for, among other reasons, the need to rebuild packages for cross-platform environments.

#2069 was closed prematurely and calls to reopen it have been ignored. it was closed after being erroneously marked as a duplicate. the use case and solution for #756 are quite different, and does not solve the problem.

@nextmat
Copy link

nextmat commented May 16, 2019

I'd still love to see this functionality added.

For anyone who runs across this in the meantime, npm rebuild --update-binary appears to be a viable workaround that won't mess with your lock files. /ht @fugroup

@caseyWebb
Copy link

yarn rebuild is still needed for using workspaces. npm rebuild --update-binary will only work for the top-level dependencies and not workspace deps.

@merceyz
Copy link
Member

merceyz commented Jan 3, 2021

Closing as fixed in v2 - https://yarnpkg.com/cli/rebuild

https://yarnpkg.com/getting-started/migration

@merceyz merceyz closed this as completed Jan 3, 2021
@merceyz merceyz added the fixed-in-modern This issue has been fixed / implemented in Yarn 2+. label Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed-in-modern This issue has been fixed / implemented in Yarn 2+. triaged
Projects
None yet
Development

No branches or pull requests

5 participants