[Do not merge. under discussion] node global installation fix

Discussion is going in #131 
will this work in osx&fedora?