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

Not working when a repo has been partially restored with yarn #1

Open
michaeldisaro opened this issue Jun 10, 2021 · 0 comments
Open

Comments

@michaeldisaro
Copy link
Owner

Consider the following repo structure:

Project1
-- node_modules
---- Project2
------ node_modules
-------- Project3
Project2
-- node_modules
Project3
-- node_modules

When working on Project2 we clean a previously linked node_modules and lose link to Project3 by re-downloading it from package manager.

If we call link/unlink on Project1 the command will throw.

TODO: Consider to pass an option to restore node_modules from package manager before linking, or to partially restore packages if no link is found when unlinking.

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

1 participant