Trying install the Lotion on my Ubuntu.
./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?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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
then run the