reverted Nested executables #1210 to fix #1823#1867
Conversation
|
Self merging |
|
With the patch in #1210 all dependencies bins are linked to node_modules/.bin The cause of the error "ENOENT: no such file or directory, chmod 'PATH_TO_BIN'" in windows is the 'cmd-shim' module. The error is throwing by step 3 or 4 when 2nd call to 'cmd-shim' with the same arguments is in step 1 or 2 while the 1st call is in step 2 or 4. There are more than one why to fix this bug, here you can find two Patch 1 – Queued the call to cmdShim Patch 2 – Call cmdShim with same 'dest' after the previous call resolved |
|
Go ahead, send a new PR. On Wed, 16 Nov 2016 at 11:14, onemen [email protected] wrote:
|
|
Do you prefer patch 1 or 2? |
|
I think the algorithm should be a bit smarter - first priority for direct Should you depend in fs to sync whether file exists? I would rather build a list of bins and resolve duplicates in memory and The test should verify that proper bins get symlinked in .bin folder On Wed, 16 Nov 2016 at 11:26, onemen [email protected] wrote: Do you prefer patch 1 or 2? — |
|
Are we still intending a fix, here, for behavior reverted from #1210? |
|
I think it is up for grabs for the community memebers
…On 31 March 2017 at 15:07, Matt Walters ***@***.***> wrote:
Are we still intending a fix, here, for behavior reverted from #1210
<#1210>?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#1867 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACBdWEDLHIWsu-maLJ6PGMoZdN-zWbU_ks5rrQicgaJpZM4Ky7Fx>
.
|
Fixes #1823.
Looks like nested dependencies binaries can conflict with each other and I reverted #1210 for now.
In a fix we need to expect tests that prevent duplicate bins overwriting