Skip to content

Error: 127 when running on godaddy.com shared hosting #4

Closed

Description

@wert134

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:

capture

Any help would be greatly appreciated. Node.php seems great.
Thanks.

Activity

  1. niutech commented on Apr 28, 2015

    @niutech
    Owner

    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.

  2. niutech commented on Sep 28, 2015

    @niutech
    Owner

    Closing since no updates on the issue.

  3. joonbizzle commented on Feb 22, 2016

    @joonbizzle

    When typing in the npm command, the terminal window returns -bash: npm: command not found.

  4. niutech commented on Feb 24, 2016

    @niutech
    Owner

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions