I cannot get my Mac OS 10.8.5 to find the modules that npm installed globally. I am trying to execute bbb from the command line, but when I try to execute it, I get
$ bbb -bash: bbb: command not found I believe it is installed correctly:
$ npm ls -g | grep bbb ├── [email protected] ├─┬ [email protected] ├─┬ [email protected] ├─┬ [email protected] ├─┬ [email protected] Lots of people recommended putting /usr/local/share/npm/bin in their $PATH so I tried that:
$ env | grep PATH PATH=/usr/local/bin:/usr/local/opt/ruby/bin:/usr/local/share/npm/bin:/usr/local/bin:/usr/local/opt/ruby/bin:/usr/local/share/npm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin NODE_PATH=/usr/local/lib/node_modules Does anyone have any other ideas with what can be going wrong? Thanks.