riywo / ndenv

node.js version manager based on rbenv
304 stars 31 forks source link

Cannot install global bower #5

Closed andreicristianpetcu closed 9 years ago

andreicristianpetcu commented 9 years ago

Hello, For some reason I cannot install bower for the current project node version.

$ndenv local
v0.10.37

$ndenv global
v0.10.36

$ndenv which npm
/home/johndoe/.ndenv/versions/v0.10.37/bin/npm

$npm install -g bower
/home/johndoe/.local/bin/bower -> /home/johndoe/.local/lib/node_modules/bower/bin/bower
bower@1.4.1 /home/johndoe/.local/lib/node_modules/bower
#lots of output, seems installed

$bower --version
ndenv: bower: command not found
The `bower' command exists in these Node versions:
  v0.10.36

$which bower
/home/andreip/.ndenv/shims/bower

$cd ~/.ndenv/ && git log -n 1
c669ff2 Merge pull request #4 from pwdtnx/iojs-support (pwdtnx, 2 months ago)

Am I doing something wrong?

Thank you!

andreicristianpetcu commented 9 years ago

Uuuups... sorry.... It seems that there was something broken in my zsh config. I have no clue why it broke ndenv. I will close this for now.