-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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: turbo doesn't work under a symbolic link #988
Conversation
@BlackGlory is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
I think that the right way to do this would be to resolve the root path that I don't think I can approve this particular fix without doing a deeper dive into the implications of following symlinks in all cases where this is used. Which, maybe we need, but my sense is that correctly resolving the root path and building off of that is a more correct way to address this particular issue. If you're interested in tackling this, I would start by looking here |
I refactored this patch with |
Any progress? I'm still forced to use my own compiled turbo. |
@BlackGlory I think I have the right place to put this code. However, I'd like to understand a bit more about your use-case. In particular, for any references outside of the repository, would you expect them to be relative to the link, or the linked-to location? For example, if you have a global dependency on a file that is a sibling to the repository, would you expect |
@gsoltis Considering this is a simple fix, I think you've expanded the problem, the problem is simply that turbo doesn't work properly when the current directory is a symbolic link. |
Since the turbo team does not seem interested in taking the issue seriously, I have decided to close this PR. |
Heya @BlackGlory! We do want to address this but we simply don't have enough hours in the day to get to everything. I've been at Vercel now for a month and we're continuing to bring on more people to increase our bandwidth. Please be patient with us as our time is a limited resource and we are attempting to triage which pieces of the codebase most need our attention. |
Tentative decision on this is to do our best to emulate how the various package managers do it. Just needs a little research and then we can move forward. |
Hello guys ! |
Apologies for the slowness on this one. I've finished a survey of the various package managers we support, and they are unanimous in resolving symlinks, so that looks like what we'll do as well. |
I'm going to close this in favor of #1246, which includes |
The current version of turbo doesn't work under a symbolic link, which is causing a lot of pain.
This patch fixes it, but there may be a better way.
The related issue: #920