yarnpkg/yarn

Yarn does not symlink missing binaries

Open

#3421 aperta il 16 mag 2017

Vedi su GitHub
 (16 commenti) (14 reazioni) (0 assegnatari)JavaScript (2731 fork)batch import
cat-bugcat-compatibilitygood first issuehelp wantedhigh-prioritytriaged

Metriche repository

Star
 (41.514 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

What is the current behavior? When you npm install a package like sentry-cli-binary the postinstall step will download a platform specific executable and put it into the bin folder. With yarn the symlink is not generated because the file does not exist yet.

If the current behavior is a bug, please provide the steps to reproduce. Make a dependency to sentry-cli-binary and observe that yarn does not install the symlink for the binary whereas npm does.

What is the expected behavior? The same behavior that npm shows.

Versions tested

$ yarn --version
0.24.4
$ npm --version
4.2.0

Guida contributor