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

Errors when running after first time in cross-dep bins workspaces #226

Open
alexcanessa opened this issue May 3, 2019 · 1 comment
Open

Comments

@alexcanessa
Copy link

Title Description
Version v0.23.2
Type Issue
node v10.15.0
Operating System MacOS Mojave (10.14.4)
Short Description bolt errors when running after the first time in cross-dep bins workspaces.
Detailed description The original issue was that bolt didn't manage cross dependencies binary files (#126) and was fixed in #191. However, even bolt now creates the symlink, a second run will fail with the error below this table.

NOTE: Keep in mind that I'm also replicating this error via running bolt internal tests.

Error: EEXIST: file already exists, symlink '../../../bar/bin.js' -> '/private/var/folders/m3/hdz1bgz94vz5rc3x16gm7jr80000gn/T/0fd44005f5f3b1950271e2eff9b65abc/workspace-with-bin/packages/foo/node_modules/.bin/bar'
@kwelch
Copy link
Contributor

kwelch commented Jun 2, 2020

We were able to work around this by declaring the bin as an object instead of a string.

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

2 participants