Skip to content
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

Support -S/--save flags for yarn add #2532

Closed
avaly opened this issue Jan 23, 2017 · 2 comments
Closed

Support -S/--save flags for yarn add #2532

avaly opened this issue Jan 23, 2017 · 2 comments

Comments

@avaly
Copy link

avaly commented Jan 23, 2017

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Running yarn add -S throws an error and does not install a package. This should be supported to ease the transition for npm users.

If the current behavior is a bug, please provide the steps to reproduce.
Run yarn add -S babel or yarn add --save babel

Actual output

yarn add v0.19.1
error Missing list of packages to add to your project.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

What is the expected behavior?
It should install the package and add it to dependencies in package.json.

Please mention your node.js, yarn and operating system version.
node v6.9.4
yarn v0.19.1
Ubuntu 16.04

@torifat
Copy link
Member

torifat commented Jan 23, 2017

@avaly
Copy link
Author

avaly commented Jan 23, 2017

I still think this flag could be useful to support without such a hard fail.

mika76 added a commit to mika76/vue-chartjs that referenced this issue Mar 22, 2017
Tomoya32 added a commit to Tomoya32/vue-chartjs that referenced this issue Aug 22, 2018
onlinehub0808 added a commit to onlinehub0808/vueChartjs that referenced this issue Feb 2, 2023
lu0415mc added a commit to lu0415mc/vue-chartjs that referenced this issue Feb 24, 2024
RichardCarlrich pushed a commit to rahasiasutarto/vue-chartjs that referenced this issue Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants