Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When installing an optionalDependency that fails in a "install" script (such as an incompatible native dependency) the module folder is left behind in the node_modules directory
If the current behavior is a bug, please provide the steps to reproduce.
Make a new package.json that depends on the "mouse-forward-back" module as an optional dependency and run yarn on a windows machine
What is the expected behavior?
The optionalDependency should fail to install and not be present in the node_modules folder
Please mention your node.js, yarn and operating system version.
Windows 10, Yarn 0.16.1, Node.JS 6.3.1
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When installing an optionalDependency that fails in a "install" script (such as an incompatible native dependency) the module folder is left behind in the node_modules directory
If the current behavior is a bug, please provide the steps to reproduce.
Make a new package.json that depends on the "mouse-forward-back" module as an optional dependency and run
yarnon a windows machineWhat is the expected behavior?
The optionalDependency should fail to install and not be present in the node_modules folder
Please mention your node.js, yarn and operating system version.
Windows 10, Yarn
0.16.1, Node.JS6.3.1