Node.js 尝试设置一个有角度的Rails环境

Node.js 尝试设置一个有角度的Rails环境,node.js,gruntjs,command,karma-runner,yeoman,Node.js,Gruntjs,Command,Karma Runner,Yeoman,我一直在尝试使用这个AngularRails生成器建立一个环境:但当我运行时,它总是失败 Grunt test 它说我的因果报应单位失败了 我会把日志贴在下面 % grunt test Running "clean:server" (clean) task Cleaning ".tmp"...OK Running "coffee:dist" (coffee) task Running "coffee:test" (coffee) task Running "compass:dist" (

我一直在尝试使用这个AngularRails生成器建立一个环境:但当我运行时,它总是失败

Grunt test
它说我的因果报应单位失败了

我会把日志贴在下面

% grunt test
Running "clean:server" (clean) task
Cleaning ".tmp"...OK

Running "coffee:dist" (coffee) task

Running "coffee:test" (coffee) task

Running "compass:dist" (compass) task
directory .tmp/styles
WARNING: 'glyphicons-halflings.png' was not found (or cannot be read) in /Users//Desktop/ang-rails/app/images
WARNING: 'glyphicons-halflings-white.png' was not found (or cannot be read) in /Users/Desktop/ang-rails/app/images
    write .tmp/styles/main.css

Running "compass:server" (compass) task

Running "connect:test" (connect) task
Started connect web server on localhost:9000.

Running "karma:unit" (karma) task
INFO [karma]: Karma v0.12.32 server started at http://localhost:8080/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.8 (Mac OS X)]: Connected on socket 97z8INcxrnCo6SHwAAAA with id 66703306
PhantomJS 1.9.8 (Mac OS X): Executed 0 of 0 ERROR (0.001 secs / 0 secs)
Warning: Task "karma:unit" failed. Use --force to continue.

Aborted due to warnings.
我真的不认为这是因为我的css失败了。当我和sudo一起运行时,我得到了

Warning: Task "compass:dist" failed. Use --force to continue.
npm 2.9.1 grunt cli v0.1.13 grunt v0.4.5 鲍尔1.4.1 业力0.12.32 指南针1.0.3北极星 ruby 2.2.1p85 phantomjs 2.0.0有些奇怪,当我运行phantomjs-version时,它返回2.0.0,但上面的错误消息是phantomjs 1.9.8。所以我想弄清楚为什么会有这种区别


如果很明显我错过了我的道歉,我已经到处寻找类似的问题,但找不到它。谢谢

我发现了问题所在。在gruntfile.js中,localhost设置为9000,而不是8080