Bypass automatic npm dependency install
I'm working with Svelte 5, and have several dependencies that have Svelte 4 as a peer dependency, but continue to work. To get everything to install, however, I need to use
npm install --force
to ignore the version requirement mismatch, but the deployment process runs npm clean-install --progress=false
against my will. Is there a way to stop it from doing that?2 Replies
Solved using the
overrides
key in package.json
Hi! May I know how does this work exactly?
I figured it out thank you!