niutech / node.php

Run node.js apps from PHP even on a shared hosting!
813 stars 236 forks source link

Failed to install #13

Open zhouhao27 opened 8 years ago

zhouhao27 commented 8 years ago

Got the following messages:

Installing Node.js: Failed. Error: Try putting node folder via (S)FTP, so that >/home/users/htdocs/node/bin/node exists.

What could be the reason? Thanks.

niutech commented 8 years ago

This means one of these chained commands did not succeed:

tar -xzf NODE_FILE 2>&1 &&
mv node-NODE_VER-linux-NODE_ARCH NODE_DIR &&
touch nodepid &&
rm -f NODE_FILE

Connect using SSH or (S)FTP and check if the file node-*-linux-*.tar.gz, the folder node and the file nodepid exist. If not, manually extract the file node-*-linux-*.tar.gz to the folder node and create the empty file nodepid.

gaberilde commented 7 years ago

its tar.xz not tar.gz now

niutech commented 6 years ago

No, there still exist https://nodejs.org/dist/v9.1.0/node-v9.1.0-linux-x86.tar.gz and https://nodejs.org/dist/v9.1.0/node-v9.1.0-linux-x64.tar.gz