【发布时间】:2014-03-27 17:28:03
【问题描述】:
我刚刚尝试运行Angular-bootstrap 生成器并回答所有选项:
[?] What version of angular would you like to use? 1.2.15
[?] Which official angular modules would you need? animate, route
[?] Any third-party component you may require? bootstrap#~3.1.0
[?] Would you want me to support old versions of Internet Explorer (eg. before IE9)? nose arrow keys)
[?] Should I set up one of those JS preprocessors for you? none
[?] Should I set up one of those CSS preprocessors for you? sass
[?] What's the base name of your project? bootstrap
[?] Under which lincense your project shall be released? MIT
[?] Would you mind telling me your username on GitHub? mgcrea
一切运行良好,花花公子,但是当我尝试运行 grunt serve 或 grunt build 时,出现以下错误:Warning: Task "bower-install" not found. Use --force to continue.
我尝试运行 bower install & npm install 来修复此错误,但我得到以下信息:npm WARN package.json bootstrap@0.1.0 No README data
有人对我如何解决这个问题有任何建议吗?
【问题讨论】:
-
为了克服这个问题,我刚刚在运行角度生成器后手动添加了模块
-
您真的应该将答案发布为“答案”而不是“评论”
-
这不是一个答案,这只是他用来继续他自己的工作的一种变通方法……而这种变通方法并不能回答这个问题
标签: angularjs twitter-bootstrap gruntjs bower