Trying install the Lotion on my Ubuntu.
When running
./install.sh
bash: ./install.sh: /bin/bash^M: bad interpreter: No such file or directory
it throws the error.
I then cd into that folder and found the bash folder is there.
how to fix it?
Trying install the Lotion on my Ubuntu.
When running
./install.sh
bash: ./install.sh: /bin/bash^M: bad interpreter: No such file or directory
it throws the error.
I then cd into that folder and found the bash folder is there.
how to fix it?
After searching for a while, it turns out the issue is caused by the writing the script in Windows env and trying to run it in Linux env.
A super easy way to make it work is to use dos2unix
(it can be easily installed by sudo apt install dos2unix
)
cd into the folder where you have the code, then
dos2unit *.sh
then run the ./install.sh
enter
key.git clone xxx
. I have figured it out and will post an answer here. thanks man