fix(vite-node): invalidate source map cache #11916
ci.yml
on: pull_request
Diff: node-latest, ubuntu-latest
8s
Lint: node-latest, ubuntu-latest
2m 28s
Matrix: test-browser
Matrix: test
Annotations
2 errors
test/cli.test.ts > invalidate source map cache:
test/vite-node/test/cli.test.ts#L61
Error: Timeout when waiting for error "source-map.ts:5:11".
Received:
stdout: Error: boom
at main (D:\a\vitest\vitest\test\vite-node\src\watch\source-map.ts:7:11)
at D:\a\vitest\vitest\test\vite-node\src\watch\source-map.ts:16:1
at ViteNodeRunner.runModule (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:400:11)
at ViteNodeRunner.directRequest (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:382:16)
at ViteNodeRunner.cachedRequest (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:207:14)
at ViteNodeRunner.executeFile (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:170:12)
at CAC.run (file:///D:/a/vitest/vitest/packages/vite-node/dist/cli.mjs:99:5)
Error: boom
at main (D:\a\vitest\vitest\test\vite-node\src\watch\source-map.ts:7:11)
at D:\a\vitest\vitest\test\vite-node\src\watch\source-map.ts:16:1
at ViteNodeRunner.runModule (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:400:11)
at ViteNodeRunner.directRequest (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:382:16)
at ViteNodeRunner.cachedRequest (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:207:14)
at ViteNodeRunner.executeId (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:174:12)
at async Promise.all (index 0)
at handleMessage (file:///D:/a/vitest/vitest/packages/vite-node/dist/chunk-hmr.mjs:161:7)
stderr:
❯ test/cli.test.ts:61:18
|
Build&Test: node-20, windows-latest
Process completed with exit code 1.
|