로컬 Windows 개발 컴퓨터에서 각도기를 시작하려고합니다.각도기 webdriver-manager를 사용할 수 없습니다.
'webdriver-manager' is not recognized as an internal or external command,
operable program or batch file.
을 : 해당 명령을 실행하면
C:\myProject\node_modules\grunt-protractor-runner\node_modules\protractor\bin>webdriver-manager start
, 나는라는 오류가 발생합니다 : 그렇게하기 위해, 나는 다음과 같은 명령을 사용하여 명령 줄에서 시작하는 것을 시도하고있다 나는 이것이 정확하다고 확신했다. NPM을 통해 각도기를 설치하고 있습니다. 내 package.json 파일은 다음과 같다 : 내가 잘못 뭐하는 거지
{
"name": "MyProject",
"version": "0.0.1",
"description": "Just the description",
"repository": "N/A",
"readme":"N/A",
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"devDependencies": {
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-concat": "0.4.0",
"grunt-contrib-connect": "0.7.1",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-cssmin": "~0.6.1",
"grunt-contrib-htmlmin": "~0.1.3",
"grunt-contrib-jshint": "0.9.2",
"grunt-contrib-uglify": "~0.2.4",
"grunt-contrib-watch": "0.5.x",
"grunt-protractor-runner": "0.2.4",
"grunt-start-webdriver":"0.0.2",
"phantomjs": "1.9.7-3",
"selenium-webdriver":"2.41.0",
"load-grunt-tasks": "0.2.x",
},
"license": "none"
}
? 각도기를 달릴 수없는 이유는 무엇입니까? 고맙습니다!
을보십시오. [Rassel의 대답] (https://stackoverflow.com/a/29378410/2197555) – gm2008
'./node_modules/.bin/webdriver-manager start'도 설치 후에도 –