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.
Maybe it's just me, but every upgrade corrupts the global node_modules.
You could try using something like nvm which has a command to migrate your old global modules.
nvm install node --reinstall-packages-from=node
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.