Uvu CLI not available: "uvu: not found"
See original GitHub issueI can succesfully run isolated tests vía the node -r tsm tests/MyTest.ts
command. Yet whenever I try to run uvu -r tsm tests
or any command that starts with uvu
, I get the following error:
uvu: not found
I have uvu 0.5.5 installed:
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
uvu/cli.md at master · lukeed/uvu - GitHub
The uvu CLI is available whenever you install the uvu package. The role of the uvu CLI is to collect and execute your...
Read more >`uvu` is not browser compatible · Issue #37 · lukeed/uvu - GitHub
My remaining goal with the CLI is to allow you to rerun the same test files with different source modules. I have a...
Read more >uvu/watch.md at master · lukeed/uvu - GitHub
Watching – aka "re-running" – tests is not implemented by the CLI directly. This partly because uvu is so fast and lightweight, which...
Read more >How to use uvu: A fast and lightweight test runner
This post will cover the usage of uvu, how it compares to Jest and AVA, and why and when to use it for...
Read more >Constitutional Literacy Institute - Utah Valley University
CLI is a tool for teachers to do just that. Instruction is provided by esteemed constitutional scholars from the Center for Constitutional Studies...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, didn’t got that part. Thank you very much!
No, this is how npm works. If I understand your additional comments correctly – and pairing it with your lack of
"test"
script in yourpackage.json
– you were trying to runuvu -r tsm ...
directly in your command line, which is asking for a globaluvu
executable For that, you do have to haveuvu
(or any) installed globally.Had you had this in your
package.json
:And then run
npm test
, it would have worked becausenpm
is invoked & told to runuvu ...
which looks at the project’s own dependencies for theuvu
binary (and atsm
package). This is true foryarn
and everything else.