【发布时间】:2015-09-22 22:51:00
【问题描述】:
当我尝试使用 yeoman 和这个命令搭建一个项目时,我得到了这个错误。
npm install generator-gulp-webapp --global
错误:
Yeoman Doctor
Running sanity checks on your system
✖ NODE_PATH matches the npm root
npm global root value is not in your NODE_PATH
我使用的是 Ubuntu 15.04,还没有使用 sudo 命令安装 npm 和 node。
【问题讨论】: