I am trying to force resolve certain dependencies using below command
npx npm-force-resolutions
After every attempt it throws a timeout error and breaks out.
Stacktrace:
Error: Timeout trying to fetch resolutions from npm at switch__2144__auto__ (C:\Users\***\AppData\Roaming\npm-cache\_npx\13732\node_modules\npm-force-resolutions\out\npm_force_resolutions\core.cljs:61:3)
Downgrading to 0.0.3 version of npm-force-resolutions seems to have fixed the issue. I did try timeout in .npmrc, didn't quite helped.
Run npx [email protected]
or if you had this in your scripts section of package.json then update as below:
"preinstall": "npx [email protected]"
References: https://github.com/rogeriochaves/npm-force-resolutions/issues/33
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With