I too am getting a similar error on Ubuntu 14.04. Here is the output: -- alex@blackhole9:~/dev/angular-phonecat$ npm run update-webdriver
> [email protected] preupdate-webdriver /home/alex/dev/angular-phonecat > npm install > [email protected] postinstall /home/alex/dev/angular-phonecat > bower install > [email protected] update-webdriver /home/alex/dev/angular-phonecat > webdriver-manager update selenium standalone is up to date. chromedriver is up to date. alex@blackhole9:~/dev/angular-phonecat$ npm run protractor > [email protected] preprotractor /home/alex/dev/angular-phonecat > npm run update-webdriver > [email protected] preupdate-webdriver /home/alex/dev/angular-phonecat > npm install > [email protected] postinstall /home/alex/dev/angular-phonecat > bower install > [email protected] update-webdriver /home/alex/dev/angular-phonecat > webdriver-manager update selenium standalone is up to date. chromedriver is up to date. > [email protected] protractor /home/alex/dev/angular-phonecat > protractor test/protractor-conf.js ------------------------------------ PID: 15822 (capability: chrome #1) ------------------------------------ Using ChromeDriver directly... Cannot read property 'matcherFn_' of undefined [launcher] Runner Process Exited With Error Code: 1 npm ERR! weird error 1 npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian npm ERR! not ok code 0 -- Neither (1) Creating a soft link node to nodejs ln -s [the path of nodejs] /usr/bin/node or (2) Installing the node legacy package sudo apt-get install nodejs-legacy. worked for me... Anybody have any ideas on how to fix this? I'd love to get started using protractor but am blocked by this error that I can't seem to work around. Let me know. Thanks, Alex On Friday, June 13, 2014 9:21:04 AM UTC-4, 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.
