Results 1 to 2 of 2

Thread: How to resolve “npm-default: not found”?

  1. #1

    Default How to resolve “npm-default: not found”?

    when I want to install npm package I see this error message:

    Code:
    npm install cody
    Output is:
    Code:
    /usr/bin/npm: line 6: exec: npm-default: not found
    And nano /usr/bin/npm Output is:

    Code:
    #!/bin/sh PROG=$(basename $0) PROG_VERSION=${NODE_VERSION:--default} exec ${PROG}${PROG_VERSION} "$@"
    And
    npm -v Output is:
    Code:
    /usr/bin/npm: line 6: exec: npm-default: not found
    Any suggestions?

  2. #2

    Default Re: How to resolve “npm-default: not found”?

    I found method with install npm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •