eliteSchwein / mooncord

Moonraker discord Bot
MIT License
132 stars 24 forks source link

Installation fails on ARM64 #202

Closed cowboy3d closed 2 years ago

cowboy3d commented 2 years ago

When installing on ARM64 (raspberry pi 4 with raspian 64 bit) the script "scripts/install.sh" fails when downloading and installing the node libraries: if ! command -v node -v >/dev/null 2>&1 then status_msg "Download Node 16.13.1" wget https://nodejs.org/download/release/v16.13.1/node-v16.13.1-linux-armv7l.tar.gz

Here a check is needed if we are on ARM64 and the download needs to be wget https://nodejs.org/download/release/v16.13.1/node-v16.13.1-linux-arm64.tar.gz

eliteSchwein commented 2 years ago

i am thinking about implementing this:


curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs (auto corrected depending on the plattform)```
eliteSchwein commented 2 years ago

implemented with 3c071b2c36cdc1dc1b57ca0b6f4a70bc62fa61fa and e9419d581c2fb02c349706a7d8fbe631db96a708