我正在关注 yeoman.io 上列出的示例 Yeoman 工作流程:
npm install -g generator-angular generator-karma # install generators
yo angular # scaffold out a AngularJS project
bower install angular-ui # install a dependency for your project from Bower
*grunt test # test your app
grunt server # preview your app
grunt # build the application for deployment
一切都很好,除了grunt test
命令:
C:\yeoman2>grunt test
(logging omitted for brevity)
Running "connect:test" (connect) task
Starting connect web server on localhost:9000.
Running "karma:unit" (karma) task
Fatal error: listen EACCES
我没有更新我的 gruntfile 或对配置进行任何其他修改。有没有人见过这个 EACCESS 错误?我在 Windows 8 上,安装了全新的节点。