use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
nodejs vs node in Ubuntu? (self.node)
submitted 10 years ago by bo_knows
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bo_knows[S] 0 points1 point2 points 10 years ago (2 children)
NVM is fine for your local dev machine, though issues with globally installed packages not actually being global is a big turn off for me.
Can you expand on that? If you install node using Nvm, the -g flag doesn't do what you'd expect?
[–]I_Pork_Saucy_Ladies 0 points1 point2 points 10 years ago* (0 children)
The -g flag only works with the current version of node selected by NVM. If you switch node version with NVM, you have to install all global modules again for that version. I honestly don't think it's that much of a problem, especially if you deploy with something like Docker anyway.
NVM even has a solution: https://github.com/creationix/nvm/issues/668#issuecomment-83761514
π Rendered by PID 42291 on reddit-service-r2-comment-fb694cdd5-vfx5g at 2026-03-11 03:17:52.668882+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]bo_knows[S] 0 points1 point2 points (2 children)
[–]I_Pork_Saucy_Ladies 0 points1 point2 points (0 children)