Why is the reference for a package to be installed from a pull request different for Yarn and original NPM client?
问题 As discussed here the way we identify a PR from which to install a Node.js package is different when using Yarn client and different when using original NPM command line client, e.g.: npm install json-schema-faker/json-schema-faker#pull/129/head and yarn add json-schema-faker/json-schema-faker#129/head Note that in Yarn's case there is no pull/ segment in the package identifier. Trying it other way around results in the following: $ npm install json-schema-faker/json-schema-faker#129/head npm