Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

tap command not working unless tap.js is accessed directly #44

Closed
oren opened this Issue · 2 comments

4 participants

@oren

tap ./test =>
bash: /usr/local/bin/tap: No such file or directory

I had to do this:
./node_modules/tap/bin/tap.js ./test

@MRdNk

If you use scripts.test 'tab ./test' (https://gist.github.com/4469613), you can then use npm test - see the updated readme.

@malandrew

@oren this is because the value of the bin property in package.json is "bin/tap.js". Changing bin to something like the following would fix this.

  "bin": {
    "tap.js": "bin/tap.js"
    "tap": "bin/tap.js"
  }
@isaacs isaacs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.