yarnpkg/yarn

Wrong line endings after installation

Open

#5,480 创建于 2018年3月7日

在 GitHub 查看
 (13 评论) (19 反应) (1 负责人)JavaScript (2,731 fork)batch import
cat-compatibilityhelp wantedtriaged

仓库指标

Star
 (41,514 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

What is the current behavior? After installing npm-scripts-info, all files of this package have CRLF line endings and it cause error:

/usr/bin/env: «node\r»: No such file or directory

If the current behavior is a bug, please provide the steps to reproduce.

yarn add --dev npm-scripts-info
./node_modules/.bin/npm-scripts-info

What is the expected behavior? Expected to have no errors while running script. If install package through npm, it works correct.

Please mention your node.js, yarn and operating system version.

  • Node 9.70
  • Ubuntu 17.10
  • Yarn 1.5.1

贡献者指南