-
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
yarn rebuild (Feature request) #2069
Comments
Our use-case for this: Copying a project into a docker container which doesn't have permissions to pull all of our packages. A rebuild is required. (And |
possibly related: #756 |
Occasionally I have issues after switching environments around that are solved by an |
fyi, with
after
exec of
fails with
but checking, the file does exist
|
Dupe of #756 |
Closing in favor of #756. |
@BYK please reopen this issue. The other issue resolves in context of node version changing. We need an actual rebuild package command for cross-platform considerations. |
Agreed, as commented in #4750. |
Yes, those are different requests. This should be reopened. |
Is there a workaround? |
Depends on what your core problem is -- there is no equivalent for @BYK can we get confirmation that this issue won't be re-opened, and we should file a new one? |
Looking at all the comments at the topic, I think something like most of people - I changed node version and needed to rebuild node-sass. I managed to do that by using |
I have a docker image that I build in stages, first excluding dev dependencies; later installing and building tests (finally, if tests run, taking original node_modules for production.). For test install, I need to use |
I used |
I recently upgraded from node 8.x to 10.x and I had to rebuild Either way, I finally did |
@loziniak doesn't seem like |
For visibility, I found: #5271, which is what I guess folks trying to use Yarn with xplat modules need to keep an eye on. |
Npm has
npm rebuild
to rebuild compiled packages (eg, node-sass). It would be nice if yarn had this, too.Edit: Hi! If you came here looking for a solution,
yarn --force
will rebuild packages. Thanks @loziniak!The text was updated successfully, but these errors were encountered: