No valid exports for `listr2/node_modules/uuid`
envgap__listr2__listr2-25
01 / FAILURE SIGNATURE
As reported upstream
Error: No valid exports main found for 'project/node_modules/listr2/node_modules/uuid'
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
ddb933e24e2725796d888cbb23330a17036e029a- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
listr2/listr2 #25 · read the original issue
Running lint-staged (using listr2 2.0.1 https://github.com/okonet/lint-staged/blob/master/package.json#L41) fails when running with the following stack:
```
husky > pre-commit (node v13.3.0)
internal/modules/cjs/loader.js:621
throw e;
^
Error: No valid exports main found for 'project/node_modules/listr2/node_modules/uuid'
at resolveExportsTarget (internal/modules/cjs/loader.js:618:9)
at applyExports (internal/modules/cjs/loader.js:499:14)
at resolveExports (internal/modules/cjs/loader.js:548:12)
at Function.Module._findPath (internal/modules/cjs/loader.js:650:22)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:948:27)
at Function.Module._load (internal/modules/cjs/loader.js:854:27)
at Module.require (internal/modules/cjs/loader.js:1023:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (project/node_modules/listr2/dist/lib/task.js:9:16)
at Module._compile (internal/modules/cjs/loader.js:1128:30) {
code: 'MODULE_NOT_FOUND'
}
husky > pre-commit hook failed (add --no-verify to bypass)
```
I've tried removing `node_modules` and package-lock and re-installing but no luck 😔 04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]