Skip to content

Instantly share code, notes, and snippets.

@dyangrev
Created May 22, 2014 19:39
Show Gist options
  • Save dyangrev/117232c53e171a57aada to your computer and use it in GitHub Desktop.
Save dyangrev/117232c53e171a57aada to your computer and use it in GitHub Desktop.
daiyi at Daiyi in ~
$ npm uninstall -g faker
unbuild Faker@0.7.2
daiyi at Daiyi in ~
$ npm uninstall -g moment
unbuild moment@2.6.0
daiyi at Daiyi in ~
$ npm uninstall -g Faker
npm WARN uninstall not installed in /usr/local/lib/node_modules: "Faker"
daiyi at Daiyi in ~
$ npm install -g Faker
npm http GET https://registry.npmjs.org/Faker
npm http 304 https://registry.npmjs.org/Faker
npm WARN deprecated Faker@0.7.2: Please use the (lowercase) 'faker' package from now on.
Faker@0.7.2 /usr/local/lib/node_modules/Faker
daiyi at Daiyi in ~
$ npm install -g moment
npm http GET https://registry.npmjs.org/moment
npm http 304 https://registry.npmjs.org/moment
moment@2.6.0 /usr/local/lib/node_modules/moment
daiyi at Daiyi in ~
$ cd /sites/dev/revinate2
daiyi at Daiyi in /sites/dev/revinate2 ±[●][0.3]
$ cd test
daiyi at Daiyi in /sites/dev/revinate2/test ±[●][0.3]
$ protractor protractor.conf.js
Using the selenium server at http://localhost:4444/wd/hub
[launcher] Running 1 instances of WebDriverF
Failures:
1) Exception loading: /sites/dev/revinate2/test/e2e/orderSpec.js Error
Message:
Error: Cannot find module 'moment'
Stacktrace:
Error: Cannot find module 'moment'
at require (module.js:380:17)
at Object.<anonymous> (/sites/dev/revinate2/test/lib/revUtil.js:1:76)
Finished in 0.007 seconds
1 test, 1 assertion, 1 failure
[launcher] chrome failed 1 test(s)
daiyi at Daiyi in /sites/dev/revinate2/test ±[●][0.3]
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment