【发布时间】:2014-12-18 00:14:19
【问题描述】:
我是 Node.js、Github、Grunt 和 ui-grid 项目中使用的其他工具的新手。我正在尝试按照https://github.com/angular-ui/ng-grid/blob/master/FIRST_TIMER.md 的说明开始操作。
一切顺利,但是当我运行 grunt 任务时,我得到一个错误:
PhantomJS 1.9.7 (Windows 7) ERROR
ReferenceError: Can't find variable: jQuery
at c:/Users/russell/ng-grid/lib/test/jquery.simulate.js:328
Warning: Task "karma:angular-1.2.14" failed. Use --force to continue.
Aborted due to warnings.
我尝试执行下一条命令grunt install,得到如下错误:
>> bower csv-js#* ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/gkindel/CSV-JS.git",
exit code of #128 Warning: Done, with errors. Use --force to continue. Aborted due to warnings
我该如何解决这个问题?
【问题讨论】:
-
我尝试执行下一个命令(grunt install)并得到以下错误:>> bower csv-js#* ECMDERR Failed to execute "git ls-remote --tags --heads git: //github.com/gkindel/CSV-JS.git",退出代码 #128 警告:完成,有错误。使用 --force 继续。由于警告而中止。
标签: javascript angularjs node.js gruntjs angular-ui-grid