-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Milestone
Description
Describe the bug
When I run the command vitest, I get the error;
TypeError: Cannot use 'in' operator to search for 'NO_COLOR' in undefined
❯ createColors node_modules/@vitest/utils/dist/chunk-colors.js:47:66
❯ setupGlobalEnv node_modules/vitest/dist/entry.js:53:15
❯ run node_modules/vitest/dist/entry.js:242:3
❯ run node_modules/vitest/dist/worker.js:60:5
❯ async file:/Users/aysegulkavakli/WebstormProjects/metamax-console/node_modules/tinypool/dist/esm/worker.js:109:20
and no test files found. Including vitest version 0.28.5 and before is working fine.
Reproduction
System Info
System:
OS: macOS Big Sur 11.5.2
Binaries:
Node: 16.14.0 - /usr/local/opt/node@16/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
Browsers:
Chrome: 113.0.5672.126
yarnPackages:
testing-library/react: 14.0.0,
vitejs/plugin-react: 4.0.0,Used Package Manager
yarn
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable