When using npm install with a package.json file, how do I get it to use a globally installed package that meets the criteria instead of downloading and
npm install
package.json
Yarn seems to work much better with repeated dependencies. So try yarn install instead of npm install.
yarn install