-
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
yarn add fails #2043
Comments
Cannot reproduce. node: 6.2.1 and 6.9.1 |
I have tried it on both |
This drives me pretty batty. On small projects you can usually run
And the yarn-error.log. |
@torifat node: 7.2.0 |
Might be as well fixed by #1861 but is not yet released. Should be tested on master branch. |
After more testing: with master (ac90c23) everything work as expected |
Can confirm, this appears to be fixed in v0.18.0. |
Going to close with reports of this being resolved with v0.18.0. @maffelbaffel, please let us know if it is still an issue after you upgrade. |
@wyze works as expected. Thanks alot :) |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
yarn add --dev some_package
fails because it somehow deletes@types
directory innode_modules
.If the current behavior is a bug, please provide the steps to reproduce.
yarn init
yarn add --dev protractor
node_modules/@types/jasmine
existsyarn add --dev karma-sourcemap-loader
add
fails becausenode_modules/@types
does not existsWhat is the expected behavior?
yarn add --dev karma-sourcemap-loader
should not delete folders in node_modules and add it to devDependenciesPlease mention your node.js, yarn and operating system version.
node 6.9.1
yarn 0.17.8
windows 10
The text was updated successfully, but these errors were encountered: