NPM registry does not return "bin" property
yarn npm info @babel/node
Goes to the npm registry and returns:
…
bin: {
'babel-node': './bin/babel-node.js'
},
}
For packages hosted on the GitLab NPM registry, the bin
property is not being returned (yarn npm info private-package
).
Because yarn 2 needs this property to know about binaries in packages, they don't work for packages hosted on the GitLab NPM registry.
Similar issue: