lirc_web icon indicating copy to clipboard operation
lirc_web copied to clipboard

dos2unix (e.g /usr/bin/env: ‘node\r’: No such file or directory error)

Open Ierlandfan opened this issue 7 years ago • 0 comments

When starting lircv0.9.4_web after a succesfully npm install I got the error: /usr/bin/env: ‘node\r’: No such file or directory error. That's a Windows line endings error. dos2unix will fix this.

sudo apt-get install dos2unix
sudo -i
cd /usr/local/lib/node_modules
find . -type f -exec dos2unix {} \;
logout
lircv0.9.4_web

Btw, thanx for making lirc_web compatible with lircv0.9.4!

Ierlandfan avatar Nov 10 '18 22:11 Ierlandfan