question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an option to npm install with --force

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:5
  • Comments:5

github_iconTop GitHub Comments

5reactions
btxtigercommented, Dec 17, 2021

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

1reaction
ryanoborilcommented, Jun 30, 2022

Actually can you please take a look at https://github.com/dylang/npm-check/pull/424

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm-install - npm Docs
This command installs a package and any packages that it depends on. If the package has a package-lock, or an npm shrinkwrap file,...
Read more >
npm install, -force flag - Stack Overflow
The -f or --force argument will force npm to fetch remote resources even if a local copy exists on disk. – Liam ·...
Read more >
How to Force Use Yarn or NPM - freeCodeCamp
In this short post, I'm going to show you how to prevent the usage of npm or yarn, depending on your needs. This...
Read more >
yarn install
Install all the dependencies listed within package.json in the local node_modules folder. The yarn.lock file is utilized as follows: If yarn.lock ...
Read more >
[BUG] npm ci can't resolve dependencies without --force, or ...
Add this single line to this file and save it: legacy-peer-deps=true; Run install command (this step is optional but useful to ensure nothing ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found