Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Take the following package.json:
{
"dependencies": {
"babel-core": "6.17.0"
},
"devDependencies": {
"eslint": "3.3.1"
}
}
Running yarn install leads to the following yarn.lock https://gist.github.com/bouk/b96cf30321d696724ef926367c5af879
Yarn LS tells me the following https://gist.github.com/bouk/6514ee7102c7c386cf29f351747c8e54
If I remove node_modules and then run yarn install --production, I will end up with a situation where escape-string-regexp is missing, even though it's a dependency of babel-core, through babel-code-frame->chalk->escape-string-regexp
What is the expected behavior?
escape-string-regexp is installed
Please mention your node.js, yarn and operating system version.
Node v6.7.0
Yarn v0.15.1
macOS 10.12
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Take the following package.json:
Running
yarn installleads to the following yarn.lock https://gist.github.com/bouk/b96cf30321d696724ef926367c5af879Yarn LS tells me the following https://gist.github.com/bouk/6514ee7102c7c386cf29f351747c8e54
If I remove node_modules and then run
yarn install --production, I will end up with a situation whereescape-string-regexpis missing, even though it's a dependency of babel-core, through babel-code-frame->chalk->escape-string-regexpWhat is the expected behavior?
escape-string-regexp is installed
Please mention your node.js, yarn and operating system version.
Node v6.7.0
Yarn v0.15.1
macOS 10.12