What you're trying to do
Execute ava binary
What happened
Ava and crashes because it 'Cannot find module micromatch' (see photo below)
What you expected to happen
No crash to occur
Steps
// package.json
{
"scripts": {
"test": "ava"
},
"devDependencies": {
"ava": "^3.8.1"
}
}
// test/test.index.js
import test from 'ava'
// or const test = require('test')
pnpm i
yarn test
here is the exact error i've received when executing yarn test after downloading ava with either pnpm or yarn 2

since micromatch does appear to be used, i can create a pr to add micromatch (latest version 3.0.4, published 3 years ago), to the package.json if you wish.
Oh good find. I would have expected a linting rule to catch that, actually.
No need to add the dependency, but I'll change the offending code to use picomatch instead.
This should be fixed in 3.8.2.