Do you want to request a feature or report a bug?
A bug. A very serious bug. Like, "I'm in serious trouble" serious.
What is the current behavior?
You make a directory in your project folder calledlib
You run cd lib; yarn add some-module --modules-folder . because you want to install a specific dependency outside of node_modules
You get an error telling you a file is missing ...
Because yarn deleted all of the files in your project folder (apart from lib and yarn-error.log)
You slowly back away from the computer. This is not your day.
If the current behavior is a bug, please provide the steps to reproduce.
See above. Although I wouldn't recommend it.
What is the expected behavior?
That yarn doesn't delete all of the files in my project.
Please mention your node.js, yarn and operating system version.
Yarn: 1.13.0
Node: v10.15.0
OS: macOS 10.14.3