When I try that, I get: -- alex@blackhole9:~/dev/angular-phonecat/test$ protractor protractor-conf.js Using ChromeDriver directly... [launcher] Error: Could not find chromedriver at /usr/local/lib/node_modules/protractor/selenium/chromedriver.exe -- Maybe I need to put "/usr/local/lib/node_modules/protractor/selenium/chromedriver.exe" in my PATH.. I will give that a shot..
-Alex On Saturday, June 14, 2014 3:09:30 AM UTC-4, nonnycode wrote: > > I have been able to solve this problem by going into the test directory > and running protractor directly. > > area51:test nonnycode$ protractor protractor-conf.js > Using ChromeDriver directly... > > > Finished in 0.005 seconds > 0 tests, 0 assertions, 0 failures > > area51:test nonnycode$ > > On Friday, June 13, 2014 2:21:04 PM UTC+1, 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 >> >> -- 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.
