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
$ vitest
(node:10) UnhandledPromiseRejectionWarning: file:///home/projects/vitest-dev-vitest-e8wbit/node_modules/vitest/dist/create-a1bc541a.js:13
import { takeCoverage } from 'v8';
^^^^^^^^^^^^
SyntaxError: The requested module 'v8' does not provide an export named 'takeCoverage'
at ModuleJob._instantiate (https://vitest-dev-vitest-e8wbit.w.staticblitz.com/blitz.5df97b5e61f923919ea927c406a4806b792de8c6.js:6:739420)
at async ModuleJob.run (https://vitest-dev-vitest-e8wbit.w.staticblitz.com/blitz.5df97b5e61f923919ea927c406a4806b792de8c6.js:6:740174)
at async Loader.import (https://vitest-dev-vitest-e8wbit.w.staticblitz.com/blitz.5df97b5e61f923919ea927c406a4806b792de8c6.js:6:871574)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:10) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:10) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Describe the bug
Error:
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-e8wbit?file=vitest.config.ts
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: