npm throws a segmentation fault with Ubuntu 16.04 and Node 6.0.0
问题 I've installed the newest version of node (6.0.0) on Ubuntu 16.04, but when I tried to install Yeoman (or any other npm module for that matter) globally, it throws out a Segmentation fault ~$ node -v 6.0.0 ~$ npm -v 3.8.6 ~$ sudo npm install -g yo normalizeTree → headers ▌ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ Segmentation fault (core dumped) ~$ sudo npm install -g npm normalizeTree → 200 ▌ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ Segmentation fault (core dumped) I've