yarnpkg/yarn

Wrong line endings after installation

Open

#5480 aperta il 7 mar 2018

Vedi su GitHub
 (13 commenti) (19 reazioni) (1 assegnatario)JavaScript (2731 fork)batch import
cat-compatibilityhelp wantedtriaged

Metriche repository

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

Descrizione

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

Guida contributor