termux-wabot
termux-wabot copied to clipboard
node-pre-gyp error!
I got this error when I ran bash install.sh
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.2/canvas-v2.10.2-node-v108-android-unknown-arm.tar.gz
EDIT
I solve the problem with these modifications in install.sh
file:
#!/usr/bin/bash
pkg install xorgproto
^^^^^^^^^^^^^^^^^^^^^
apt-get update
apt-get upgrade
apt-get install -y nodejs libwebp ffmpeg wget tesseract
wget -O ~/../usr/share/tessdata/ind.traineddata "https://github.com/tesseract-ocr/tessdata/blob/master/ind.traineddata?raw=true"
npm i --build-from-source
^^^^^^^^^^^^^^^^^^^
echo "[*] All dependencies have been installed, please run the command \"npm start\" to immediately start the script"