Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tap command not found #774

Closed
Divepit opened this issue Sep 17, 2021 · 2 comments
Closed

tap command not found #774

Divepit opened this issue Sep 17, 2021 · 2 comments

Comments

@Divepit
Copy link

Divepit commented Sep 17, 2021

After following the getting started guide which consists of the steps

  1. Installing npm install tap --save-dev
  2. Updating the package.json

The npm test command will work, hoever using the tap command will result in the error -bash: tap: command not found

@zkldi
Copy link
Contributor

zkldi commented Sep 22, 2021

You should use npm install -g tap to get a global tap command.
You might have to run that command with sudo, depending on how your stuff is setup.

@Divepit Divepit closed this as completed Nov 9, 2021
@punkish
Copy link

punkish commented Apr 29, 2024

You should use npm install -g tap to get a global tap command.

Thanks for this info, however, this is not what is indicated in the published manual which very clearly says (what the OP wrote)

Installing Tap[#](https://node-tap.org/basics/#installing-tap)

You know the drill.

npm install tap --save-dev
"Zero Patience Just Get Going" Guide[#](https://node-tap.org/basics/#%22zero-patience-just-get-going%22-guide)

Write a test file like this:

…

Run it like this:

$ tap run

@punkish punkish mentioned this issue Apr 29, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants