我正在尝试构建在这里找到的骨干样板项目:https ://github.com/backbone-boilerplate/backbone-boilerplate
我在让它正确构建时遇到了一些问题。以下是我已经完成的步骤,这些步骤是主干样板 wiki 上的步骤:
git clone https://github.com/backbone-boilerplate/backbone-boilerplate.git
cd backbone-boilerplate
sudo npm install -gq bower
sudo npm install -q
sudo npm install -gq grunt-cli
sudo grunt
此时我得到:
>> Local Npm module "grunt-cli" not found. Is it installed?
Warning: Task "requirejs" not found. Use --force to continue.
Aborted due to warnings.
任何想法如何让它正确构建?