我按照 mern.io 中的说明在Macbook Pro 上安装 mern-cli:
sudo npm install -g mern-cli
但我收到以下错误:
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b 0.0.2 git://github.com/timoxley/next-tick.git /var/root/.npm/_cacache/tmp/git-clone-5e86851e
npm ERR! fatal: could not create leading directories of '/var/root/.npm/_cacache/tmp/git-clone-5e86851e': Permission denied
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /var/root/.npm/_logs/2017-06-18T06_17_12_022Z-debug.log
任何想法?