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

Add an option to npm install with --force #416

Open
bastienmoulia opened this issue Nov 26, 2021 · 5 comments
Open

Add an option to npm install with --force #416

bastienmoulia opened this issue Nov 26, 2021 · 5 comments

Comments

@bastienmoulia
Copy link

Hello,

I would like to execute the npm install with --force after choosing the dependencies I want to upgrade.

I was thinking something like npm-check -u --force.

@btxtiger
Copy link

Similar question: how to add --legacy-peer-deps?

@tzellman
Copy link

I love using this, but I have found it difficult to use in lerna-managed projects. Having the ability to pass --no-shrinkwrap to the installer (npm) would make it possible to make the updates to the various package.json files, then lerna bootstrap afterwards.

Abstractly, it would be nice to have an option to pass "extra" arguments to the installer. Doing this could satisfy all of the requests in this thread.

@balboFK
Copy link

balboFK commented Jun 20, 2022

I also would like to have an option to install with --legacy-peer-deps.
Since upgrading to Node 16, some libraries have been giving me errors on their peer dependencies, which requires the flag to be passed on install.

@ryanoboril
Copy link

I came here to leave another ask for --legacy-peer-deps support :-D

@ryanoboril
Copy link

Actually can you please take a look at #424

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

5 participants