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

Fix: Add the missing link-folder flag #4235

Merged
merged 1 commit into from
Aug 23, 2017
Merged

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Aug 23, 2017

Summary

The command line flags are missing the --link-folder option. Because we always try to create the global and cache folders if they don't exist, if the path is readonly, then Yarn will crash. The new option makes it possible to workaround this issue by manually selecting a different, writable, path.

Followup will be to:

  • Make it easier to change all folders at once by selecting a "yarn internal folder" and derivating the others (cache, global, link) from this one.

  • Prevent Yarn from automatically creating the global and link folders, unless it really needs to write into them.

@arcanis arcanis requested a review from BYK August 23, 2017 11:20
@BYK BYK self-assigned this Aug 23, 2017
@arcanis arcanis merged commit 840acbf into yarnpkg:master Aug 23, 2017
joaolucasl pushed a commit to joaolucasl/yarn that referenced this pull request Oct 27, 2017
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

Successfully merging this pull request may close these issues.

2 participants