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

npm ci ignores --no-optional flag #637

Closed
dmytro-gokun opened this issue Dec 26, 2019 · 2 comments
Closed

npm ci ignores --no-optional flag #637

dmytro-gokun opened this issue Dec 26, 2019 · 2 comments

Comments

@dmytro-gokun
Copy link

It should obey that flag. I know that i can do "npm i --no-optional", but that defeats the whole purpose of having lock files.

@ManfredLange
Copy link

Whether npm ci --no-optional works appears to depend on one ore more additional factors. It appears to work in my environment which is:

  • Windows 10
  • Nodejs 12.13.1
  • npm 6.13.4

@KnowsCount
Copy link

Why is this closed? What about linux users?

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

4 participants