You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After attempting to migrate from coverage-c8 to coverage-v8, I get the above errror when running npm run test. As npm ls vitest shows, vitest is installed:
Hello @MERCMS. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 3 days.
Creating a reproduction on StackBlitz will be difficult to say the least, because we use several npm workspaces with quite a few dependencies, and I cannot give access to the company's repository.
There's no need to use StackBlitz if it causes issues. As the message above says, feel free to create a normal Github repository if it's easier. Without being able to reproduce this I don't think we can do anything.
In the System Info section above your environment doesn't seem to have any @vitest/coverage-* packages. Start by checking that every package.json has both vitest and @vitest/covearge-v8 in devDependencies.
Thanks for your feedback. The issue was related to a version conflict with vitest. Different packages had different versions of it installed. After resolving this the error went away.
Describe the bug
After attempting to migrate from coverage-c8 to coverage-v8, I get the above errror when running
npm run test
. Asnpm ls vitest
shows, vitest is installed:Reproduction
Follow migration guide at #3339
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: