yarnpkg/yarn

Yarn does not symlink missing binaries

Open

#3421 opened on May 16, 2017

View on GitHub
 (16 comments) (14 reactions) (0 assignees)JavaScript (41,514 stars) (2,731 forks)batch import
cat-bugcat-compatibilitygood first issuehelp wantedhigh-prioritytriaged

Description

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

Contributor guide