-
Notifications
You must be signed in to change notification settings - Fork 20
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
Gobble grab EEXIST symlink error #89
Comments
Yeah I'm running into the same issue. I can't seem to use .grab like the documentation says:
At least not on Linux. |
I can confirm that this is a For anyone who comes across this, a quick fix is to just build a custom transform that uses some other module to copy over contents from target input dir to the output dir. |
This is still an issue. I'll try setting up a unit test for this and have a look. |
FWIW and as far as I can tell by reading the source code, the problem seems to be that gobble first creates the output directory and then tries to I'm just guessing but it seems to me that the tricky thing is that gobble always creates the outputdir (in @IvanSanchez , there's now a test case for this added by @TrySound but it's currently disabled. |
Still experiencing the same issues with grab on macOS and Linux. Not happening in Windows tho. |
I'm not sure if this is actually a Gobble issue, but it's my best guess at the moment. I have a gobblefile that runs fine locally (on Windows). I'm deploying to Heroku, and the same gobblefile exits with an error midway through:
It strikes me as ... wrong. If I look at the .gobble-build directory on heroku, there is an empty /10-grab/1 directory. On my local machine, that step goes fine and the
10-grab/1
directory contains a js file.Might this be a gobble issue, or is it more likely to be caused by something else?
EDIT:
If I remove the grab step, things work fine. It looks like this could be coming from sander's symlinkOrCopy method, which has different behavior for windows.
The text was updated successfully, but these errors were encountered: