Skip to content
This repository was archived by the owner on Jan 4, 2023. It is now read-only.

node-pre-gyp error! #184

Open
jhondesignee opened this issue Nov 24, 2022 · 0 comments
Open

node-pre-gyp error! #184

jhondesignee opened this issue Nov 24, 2022 · 0 comments

Comments

@jhondesignee
Copy link

jhondesignee commented Nov 24, 2022

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"
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant