You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior?
global script installed by yarn does not work in Linux if the script uses \r\n line ending
If the current behavior is a bug, please provide the steps to reproduce.
yarn global add [email protected]
create-mithril-app testapp123
> /usr/bin/env: 'node\r': No such file or directory
What is the expected behavior?
global script should work regardless of the line ending. The rationale is that an npm package can only have one line ending, but needs to work across different environments (Linux, MacOS, Windows) that expect different line endings, which is impossible without yarn's help.
Please mention your node.js, yarn and operating system version.
node: 10.11.0
yarn: 1.15.2
OS: Ubuntu 18.04.1
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
bug
What is the current behavior?
global script installed by yarn does not work in Linux if the script uses
\r\n
line endingIf the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
global script should work regardless of the line ending. The rationale is that an npm package can only have one line ending, but needs to work across different environments (Linux, MacOS, Windows) that expect different line endings, which is impossible without yarn's help.
Please mention your node.js, yarn and operating system version.
node: 10.11.0
yarn: 1.15.2
OS: Ubuntu 18.04.1
The text was updated successfully, but these errors were encountered: