Closed wert134 closed 9 years ago
Error 127 means "command not found". Probably there is something wrong with the path. I would connect to your account by SSH and type the npm
command from there.
Closing since no updates on the issue.
When typing in the npm
command, the terminal window returns -bash: npm: command not found
.
This means the npm
binary is not in the path. Check if the node
folder exists in the same folder where node.php
is. Then check if node/bin/npm
exists and has Execute permission set. Node.php executes ./node/bin/npm
under the hood.
Another option is the 32/64-bit mismatch, as described here.
Hi, I have successfully installed node.js on my website using node.php, however when I try to use npm install to install the samples package or another package I get this output:
Any help would be greatly appreciated. Node.php seems great. Thanks.