yarnpkg/yarn

Wrong line endings after installation

Open

#5,480 opened on 2018年3月7日

GitHub で見る
 (13 comments) (19 reactions) (1 assignee)JavaScript (41,514 stars) (2,731 forks)batch import
cat-compatibilityhelp wantedtriaged

説明

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

コントリビューターガイド