mklabs / mocha-gherkin

A little tool to generate Mocha BDD specs from Gherkin features
http://mklabs.github.com/mocha-gherkin/
57 stars 14 forks source link

Doc: How to install #3

Open pscheit opened 10 years ago

pscheit commented 10 years ago

Hey,

thank you for this library. It looks very good. I'm just wondering how to install? You already did write a package.json, why didn't you published on npm?

best regards Philipp

mklabs commented 10 years ago

Hi @pscheit sorry for the late response

I didn't publish to npm because it felt not good enough to be published. I recently rewrote something similar with wd-gherkin which is a slightly different take on using Mocha and Gherkin together.

I once read that npm can now use something like mklabs/mocha-gherkin to pull dependencies directly from github, so not publishing to npm shouldn't be an issue.

dayanamcc commented 8 years ago

hello, i cannot use your project because i have this ERROR:

npm install --save-dev mklabs/mocha-gherkin
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/xyz/.nvm/versions/node/v5.10.0/bin/node" "/Users/xyz/.nvm/versions/node/v5.10.0/bin/npm" "install" "--save-dev" "mklabs/mocha-gherkin"
npm ERR! node v5.10.0
npm ERR! npm  v3.8.3

npm ERR! No compatible version found: hogan@~1.0.5-dev
npm ERR! Valid install targets:
npm ERR! 1.0.2, 1.0.0, 0.0.0
npm ERR! 
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/xyz/Github/mg/npm-debug.log
mklabs commented 8 years ago

@dayanamcc Hello, should be ok to install now.

dayanamcc commented 8 years ago

thank you!, now its working fine! :)