Open blai opened 9 years ago
So this is totally down the right path, but I think we still need to work a little bit more.
Atom itself is running using a different version of node (in fact it might be iojs now?). Which means it's paths are usually different than the users paths to their "real" node directory.
For me I'm getting this list in atom at the moment.
Which doesn't include these that I found by just running node
from the command line.
I still think we need something to work with nvm, or at least understands how nvm works.
If you run this under nvm
, I think it will give you the folders in nvm
as well? I installed nvm
a while back, but I found a system variable in my config file NVM_DIR
, maybe that could be useful as well.
Fixes #7