-
-
Notifications
You must be signed in to change notification settings - Fork 269
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 #1024
Comments
seems like |
I got tired of typing
When I try to edit the config file using
In any case, --exclude=[#](https://node-tap.org/cli/#--exclude%3D%3Cpattern%3E) What am I doing wrong that my experience doesn't match what the docs say? |
Put If the |
Is there an existing issue for this?
Have you read the
CONTRIBUTING
guide on posting bugs, andCODE_OF_CONDUCT
?This issue exists in the latest tap version
Description
this issue was reported in 2021 #774
however, I still face this problem today. I followed the directions exactly as published on the website:
npm install tap --save-dev
The solution, as suggested in the linked issue #774 is to install TAP globally with
npm install -g tap
. If that is true, why is that not on the website? In any case, I'd prefer not to install TAP globally.Much appreciation in advance for any guidance.
Reproduction
see above
Environment
I want to add that I am using
node
withnvm
. I don't know if that matters. Since I installedtap
as a local dev-dependency, it is in my project'snode_modules
directory.I am able to run the test using node directly as well as via
npx tap
successfully, but when I do the followingAlso, running the test with
npx tap
causes all the tests in the entire project directory structure to be run. I want to run only the test specified on the command line (just to reduce the noise in the terminal)The text was updated successfully, but these errors were encountered: