-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Corrupted node_modules/.bin/gulp.cmd after yarn install
#3350
Comments
Same here with yarn 0.24.6. OS: Windows 7 |
We're also seeing this behavior on AppVeyor with build 0.24.6 and it is extremely annoying. Is there a temporary workaround that anyone has found? |
The simplest workaround is to |
To be honest, since NPM 5 introduced package-lock.json, my "workaround" has just been to move back to npm completely. It is still slightly slower, but now has broadly equivalent capabilities and most importantly it consistently works. |
This was fixed in a recent version of Yarn so closing. |
Also, @farrago, that is not really a useful comment for this issue. I'm happy that you are happy with npm5 since it has gotten much better but these kinds of comments neither help npm nor helps us resolve the issue. |
Hi @BYK, glad it's fixed and look forward to testing it. My comment was simply aimed at helping @BrianVallelunga who specifically asked for a workaround (to the issue that I had opened). If someone had provided a workaround within Yarn then I obviously wouldn't have commented regarding using npm. Sadly, I don't believe there was a workaround within yarn at the time. For the future, do you have a code of conduct or similar which includes what is or isn't recommended for including in comments on this project? I know OS maintenance is a thankless task, so I'm thankful for all the effort people put into it, and I'm happy to only add comments in a way that the team feels is helpful. |
Well, I'm happy it is closed. What release is this fixed in? |
What is the current behavior?
yarn install
with https://github.com/zurb/foundation-emails-template ends up with garbage characters innode_modules/.bin/gulp.cmd
.This appears to be exactly as described in #828.
#828 was closed fixed based on PR2795, but in the comments on that PR you can find a number of comments that this does not entirely fix the problem. In that thread of comments PR3097 is proposed as a solution but hasn't been merged yet.
If the current behavior is a bug, please provide the steps to reproduce.
See #828 or
yarn install
gulp
<-- failsView
node_modules/.bin/gulp.cmd
and see corruption as described in #828What is the expected behavior?
It should not corrupt gulp.cmd
Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: