nathanboktae / mocha-casperjs

Write CasperJS tests using Mocha
MIT License
120 stars 30 forks source link

Use direct dependencies instead of peer dependencies #69

Open nathanboktae opened 8 years ago

nathanboktae commented 8 years ago

npm 3 will stop installing peer dependencies and in general are a bag of hurt with a lot of npmers calling for deprecation of it.

jbhelfrich commented 8 years ago

Is this why when I install mocha-casperjs with npm@3.8.1 I'm told that the casperjs and mocha peer dependencies aren't met, even though both are installed globally (mocha version 2.4.5 and casperjs 1.1.0-beta5) ?

nathanboktae commented 8 years ago

You installed it locally and it's saying that? Yes, and since mocha-casperjs doesn't run in node it won't have the global path fallbacks so it has to have it globally. so you also need to do npm install mocha casperjs@1.1.0-beta5