Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

what node version manager do you use? nvm is giving me issues

$
0
0
nvm issues
https://github.com/creationix/nvm/issues/434

I've tried another node version manager before (can't remember which, but
it was horrible)

I'll probably return to the older version of nvm that worked and was simple
one .sh file.

#meteor freenode
<imslavko> Lope: why do you even need nvm?
<imslavko> Lope: Meteor stores the correct binary of node and npm on your
machine so you don't need to manage those with nvm
<dali> mysterious
<imslavko> why?
<Lope> I need nvm to install node to install npm to install meteorite to
install iron-router
<imslavko> ew
<imslavko> alright, that's fair
<Lope> software development, isn't it simple? </sarcasm>
<imslavko> but you can always find the correct binaries of node and npm at
.meteor/tools/latest/bin/{node,npm}
<Lope> how do you propose using them from there?
<imslavko> Lope this might be awkward, but why do you think you cannot use
them from there?
<imslavko> ~/.meteor/tools/latest/bin/npm install -g meteorite
<imslavko> ~/.meteor/tools/latest/bin/node ~/.meteor/tool/latest/bin/mrt
<imslavko> ~/.meteor/tools/latest/bin/node ~/.meteor/tool/latest/bin/mrt
add iron-router
<Lope> that's a bit of a pain
<Lope> I also use node for other projects
<Lope> so I might as well just install nvm
<imslavko> once Meteor folds the packaging it will drop the dependency on
npm being installed and meteorite
<Lope> I've got an older version of nvm (that works simply with 1 sh file)
on another computer
<imslavko> so far yeah, this is a bit of a pain

Viewing all articles
Browse latest Browse all 6551

Latest Images

Trending Articles



Latest Images