How do I force npm dependencies using npm-force-resolutions without using npx?
Solution 1:
Probably it's not the best solution, but you can try installing that dependency and running it in the preinstall hook instead of running npx:
"preinstall": "npm i npm-force-resolutions && ./node_modules/.bin/npm-force-resolutions",