I have installing protractor following the steps indicated in the tutorial for the angular-phonecat project.
I get this weird error.
rea51:angular-phonecat nonnycode$ sudo npm run protractor
> angular-...@0.0.0 preprotractor /Users/nonnycode/Documents/lab/angular-phonecat
> npm run update-webdriver
> angular-...@0.0.0 preupdate-webdriver /Users/nonnycode/Documents/lab/angular-phonecat
> npm install
npm WARN cannot run in wd angular-...@0.0.0 bower install (wd=/Users/nonnycode/Documents/lab/angular-phonecat)
> angular-...@0.0.0 update-webdriver /Users/nonnycode/Documents/lab/angular-phonecat
> webdriver-manager update
selenium standalone is up to date.
chromedriver is up to date.
> angular-...@0.0.0 protractor /Users/nonnycode/Documents/lab/angular-phonecat
> protractor test/protractor-conf.js
------------------------------------
PID: 498 (capability: chrome #1)
------------------------------------
Using ChromeDriver directly...
Cannot read property 'matcherFn_' of undefined
[launcher] Runner Process Exited With Error Code: 1
npm ERR! angular-...@0.0.0 protractor: `protractor test/protractor-conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-...@0.0.0 protractor script.
npm ERR! This is most likely a problem with the angular-phonecat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! protractor test/protractor-conf.js
npm ERR! You can get their info via:
npm ERR! npm owner ls angular-phonecat
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 12.5.0
npm ERR! command "node" "/usr/local/bin/npm" "run" "protractor"
npm ERR! cwd /Users/nonnycode/Documents/lab/angular-phonecat
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/nonnycode/Documents/lab/angular-phonecat/npm-debug.log
npm ERR! not ok code 0