You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Request a feature
What is the current behavior?
yarn install --no-optional doesn't seem to exist (or it's not documented).
What is the expected behavior?
It should work like npm install --no-optional – i.e. don't even attempt to install optionalDependencies (as opposed to just allowing them to fail quietly).
Please mention your node.js, yarn and operating system version.
Node v7.5.0
Yarn v0.19.1
OS X El Capitan
The text was updated successfully, but these errors were encountered:
It's already there but called --ignore-optional. The problem is that it's not documented currently on the yarn install docs page (along with --ignore-scripts).
Neither --no-optional nor --ignore-optional seem to work for me. I have an app with a dependency of linkifyjs@2.1.4. LinkifyJs has 3 large optionalDependencies which I don't want but Yarn will still install them.
Do you want to request a feature or report a bug?
Request a feature
What is the current behavior?
yarn install --no-optional
doesn't seem to exist (or it's not documented).What is the expected behavior?
It should work like
npm install --no-optional
– i.e. don't even attempt to installoptionalDependencies
(as opposed to just allowing them to fail quietly).Please mention your node.js, yarn and operating system version.
Node v7.5.0
Yarn v0.19.1
OS X El Capitan
The text was updated successfully, but these errors were encountered: