nvm: N/A: version "N/A" is not yet installed.

I’ve been tackling this all day and had no luck. Hopefully it’s something simple, I’ve read and tried everyones solution but had no luck. I keep getting "N/A: version “N/A” is not yet installed.

You need to run “nvm install N/A” to install it before using it. " I installed 4.6.0 and set it as default, reinstalled nvm, edited my .nvmrc file, experimented with different versions and still had no luck.

My nvm ls returns:

    iojs-v3.3.1  
->       v4.6.0  
         v6.8.0  
         system  
default -> node (-> v6.8.0)
node -> stable (-> v6.8.0) (default)
stable -> 6.8 (-> v6.8.0) (default)
iojs -> iojs-v3.3 (-> iojs-v3.3.1) (default)
lts/* -> lts/argon (-> v4.6.0)
lts/argon -> v4.6.0

and nvm debug:

nvm --version: v0.32.0
$SHELL: /bin/bash
$HOME: /home/hvk33m
$NVM_DIR: '$HOME/.nvm'
$PREFIX: ''
$NPM_CONFIG_PREFIX: ''
nvm current: v4.6.0
which node: $NVM_DIR/versions/node/v4.6.0/bin/node
which iojs: 
which npm: $NVM_DIR/versions/node/v4.6.0/bin/npm
npm config get prefix: $NVM_DIR/versions/node/v4.6.0
npm root -g: $NVM_DIR/versions/node/v4.6.0/lib/node_modules

Wish I knew what version N/A was referring to.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

I spent the last few days tackling this and finally figured it out. I did the above and after that they both showed the same but I still got the N/A not installed on my server the first time. It then installed and ran successfully after. Thanks for your help. Couldn’t have done it without you