2

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.

enter image description here

how to fix it?

Franva
  • 173

1 Answers1

3

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

Franva
  • 173