4 ms·
It's a shame that updating node via homebrew is such a pain that I probably will skip this version. Maybe it's just me, but every upgrade corrupts the global n
by cridenour 9y ago
It's a shame that updating node via homebrew is such a pain that I probably will skip this version.
Maybe it's just me, but every upgrade corrupts the global node_modules.
- minxomat 9y agoShouldn't nvm (node version manager) work? I rarely install node via any package manger, nvm provides some nice management features.
- apazzolini 9y agohttps://github.com/tj/n https://github.com/tj/n is also a good version manager for node.
- miduil 9y ago--no-check-certificate for something that is intended to install software is unacceptable. https://github.com/tj/n/pull/475/files https://github.com/tj/n/pull/475/files I guess nvm is better, needs some polishing, though (error prone for scripted usage, because of unpredictable exit > 0 behavior. https://github.com/creationix/nvm https://github.com/creationix/nvm
- coding123 9y agoI tried nvm and it didn't even install correctly. I tried n just now and it works beautifully! thanks for the ref. Nice that it is from tj.
- beart 9y agoI'm not sure how homebrew works but most of the node version managers will keep independent global installation folders for a version of node. You could try using something like nvm which has a command to migrate your old global modules. nvm install node --reinstall-packages-from=node
- code-e 9y agoAre you talking about native modules that need to be rebuilt when the V8 version used by node is also upgraded?
- vmware513 9y agohttp://yoember.com/nodejs/the-best-way-to-install-node-js/ http://yoember.com/nodejs/the-best-way-to-install-node-js/
- zumu 9y agoWhy not use a version manager like n or nvm?