This solution worked for me on OSX 10.9.5
On Wednesday, June 18, 2014 at 1:06:51 PM UTC-4, [email protected] wrote: > > > > On Friday, June 13, 2014 4:21:04 PM UTC+3, nonnycode wrote: >> >> 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 >> >> > [email protected] preprotractor >> /Users/nonnycode/Documents/lab/angular-phonecat >> > npm run update-webdriver >> >> >> > [email protected] preupdate-webdriver >> /Users/nonnycode/Documents/lab/angular-phonecat >> > npm install >> >> npm WARN cannot run in wd [email protected] bower install >> (wd=/Users/nonnycode/Documents/lab/angular-phonecat) >> >> > [email protected] update-webdriver >> /Users/nonnycode/Documents/lab/angular-phonecat >> > webdriver-manager update >> >> selenium standalone is up to date. >> chromedriver is up to date. >> >> > [email protected] 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! [email protected] protractor: `protractor >> test/protractor-conf.js` >> npm ERR! Exit status 1 >> npm ERR! >> npm ERR! Failed at the [email protected] 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 >> > > The following solution help me: > https://github.com/angular/protractor/issues/906 > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
