Skip to content

nvm is not compatible with the npm config "prefix" option: currently set to "" #476

Closed

Description

@xrmr
x0rm3r@X0RM3R:~$ nvm install 4.4.5
Downloading https://nodejs.org/dist/v4.4.5/node-v4.4.5-linux-x64.tar.xz...
######################################################################## 100.0%
fs.js:549
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: Unknown system error -25: Unknown system error -25, open '/home/x0rm3r/.nvm/versions/node/v4.4.5/lib/node_modules/npm/bin/npm-cli.js'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.fs.readFileSync (fs.js:397:15)
    at Object.Module._extensions..js (module.js:415:20)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:968:3
nvm is not compatible with the npm config "prefix" option: currently set to ""
Run `npm config delete prefix` or `nvm use --delete-prefix v4.4.5` to unset it.

Activity

  1. russalex commented on Jun 7, 2016

    @russalex
    Contributor

    Confirmed the error on 14352. The good news is that there is a fix inbound. Trying this on an internal build:

    russ@RUSSALEX-BOOK:~$ nvm install 4.4.5
    Downloading https://nodejs.org/dist/v4.4.5/node-v4.4.5-linux-x64.tar.xz...
    ######################################################################## 100.0%
    Now using node v4.4.5 (npm v2.15.5)

  2. russalex commented on Jun 9, 2016

    @russalex
    Contributor

    Fixed in build 14361.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions