yarnpkg/yarn

Yarn does not symlink missing binaries

Open

#3,421 建立於 2017年5月16日

在 GitHub 查看
 (16 留言) (14 反應) (0 負責人)JavaScript (41,514 star) (2,731 fork)batch import
cat-bugcat-compatibilitygood first issuehelp wantedhigh-prioritytriaged

描述

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

貢獻者指南