-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'env: node\r: No such file or directory' - related to yarn, with reslate v3.0.0-5 #71
Comments
Thanks for the report. Just tried it on MacOS 11.4 and could not reproduce (using npm). Does this happen if you omit the |
I also get it on linux. I am doing |
Are you able to replicate with npm, and not yarn? |
You are correct. If I use just npm it works. Anyway thanks for the quick help. |
Most reports of this issue seem related to CR/LF line ending issues on the scripts created on install. Why |
# Check that dos2unix exists
if [ ! `command -v dos2unix` ]; then
sudo apt install -y dos2unix || brew install dos2unix
fi
# For each *.js in cwd, recursively change line endings to Unix style
for filejs in `find . -name "*.js"`; do
echo "Converting line endings in $filejs"
dos2unix $filejs
done |
Bug Description
This command:
gives this error:
Reverting to version 3.0.0-4 solves this problem.
Steps to reproduce:
Screenshots
Browser:
The text was updated successfully, but these errors were encountered: