量angular器不能正常工作的端到端testing

我是runnungangular度种子项目(代码位于这里 ),我安装了Node.js,茉莉花(与C:\Users\nradisic\Documents\Visual Studio 2013\WebSites\angular-seed-master>npm install jasmine )和量angular器(使用C:\Users\nradisic\Documents\Visual Studio 2013\WebSites\angular-seed-master>npm install protractor )。 我试图用runnung e2e-test.bat与内容运行量angular器的端到端testing:

 @echo off REM Windows script for running e2e tests REM You have to run server first REM REM Requirements: REM - NodeJS (http://nodejs.org/) REM - Protractor (npm install -g protractor) set BASE_DIR=%~dp0 webdriver-manager update protractor "%BASE_DIR%\..\config\protractor-conf.js" %* 

和protractor-conf.js:

 exports.config = { allScriptsTimeout: 11000, specs: [ '../test/e2e/*.js' ], capabilities: { 'browserName': 'chrome' }, baseUrl: 'http://localhost:8000/app/', framework: 'jasmine', jasmineNodeOpts: { defaultTimeoutInterval: 30000 } }; 

当我用C:\Users\nradisic\Documents\Visual Studio 2013\WebSites\angular-seed-master\node_modules\protractor\bin>node webdriver-manager start并运行C:\Users\nradisic\Documents\Visual Studio 2013\WebSites\angular-seed-master\node_modules\protractor\bin>node webdriver-manager start ,启动e2e-test。蝙蝠我得到错误消息:

'webdriver-manager'不被识别为内部或外部命令,可操作的程序或batch file。
“量angular器”不被识别为内部或外部命令,可操作程序或batch file。

如何解决这个问题?

我的操作系统是Windows 8.1。 我正在从Visual Studio 2013运行一个项目。

你有没有试过npm install -g protractor ? 我在e2e-test.bat的REM中find它。

运行结果:
>e2e-test.bat
Updating selenium standalone
downloading https://selenium-release.storage.googleapis.com/2.44/selenium-server-standalone-2.44.0.jar...
Updating chromedriver
downloading https://chromedriver.storage.googleapis.com/2.13/chromedriver_win32.zip...
chromedriver_2.13.zip downloaded to C:\Users\xxx\AppData\Roaming\npm\node_modules\protractor\selenium\chromedriver_2.13.zip
selenium-server-standalone-2.44.0.jar downloaded to C:\Users\xxx\AppData\Roaming\npm\node_modules\protractor\selenium\selenium-server-standalone-2.44.0.jar