meteorcucumberchimp.js

Chimp / Cucumber intro tutorial steps not launching appropriately


I'm following https://chimp.readme.io/docs/tutorial steps, trying to get chimp up and running.

here are the steps listed:

mkdir chimp-tutorial
cd chimp-tutorial
npm install chimp
mkdir features
chimp --watch

However the last cmd returns

bash: chimp: command not found

I just installed Java 8v73, Node.js ... I'm getting around to cmdline - if I understand it proper, I'm doing a local install, and i can see /node_modules/ in /Users/pierre/ and there's the /chimp/ folder.... but if I then try to launch it from there via .../node_modules/chimp/bin/chimp.js --watch

no browser gets launched... Why? (I don't have admin rights on the machine so trying to figure out how to work locally)


Solution

  • If you install Chimp without -g, you can still access is using ./node_modules/.bin/chimp

    See here for more details: https://chimp.readme.io/docs/installation#section-local-installation