veljkoz

Results 4 comments of veljkoz

Result of #5, as pointed by @doowb ... I will investigate some more tomorrow... thanks

If in doubt, maybe it would be a good idea to compare with the results of `module.paths` and return the first match?

I just tried to install older npm via nvm, then update it using `npm install -g npm` and still it installed it next to the nodejs (`C:\Program Files\nodejs`), which is...

Agreed - I'd vote to revert the https://github.com/jonschlinkert/global-prefix/pull/5/commits/d8d1afb8d3e1a9c1c2b5b29a3d212ccb1244078e The other approach would be to use modules.paths[0], but I have a feeling like it wouldn't be "future-proof"...