Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vitest searches for non-existent file typescript.js.map and explodes #6835

Closed
6 tasks done
aabmets opened this issue Nov 1, 2024 · 1 comment
Closed
6 tasks done

Comments

@aabmets
Copy link

aabmets commented Nov 1, 2024

Describe the bug

Running vitest in my project causes the following error to be thrown:
image

Here's my package.json if you need to see dependencies.

BTW, this vitest.config.ts does not affect the error:

import { defineConfig } from 'vitest/config';

export default defineConfig({
   test: {
      server: {
         sourcemap: false
      }
   },
})

Reproduction

No idea how to reproduce, just install dependencies and run vitest

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-1270P
    Memory: 18.47 GB / 31.67 GB
  Binaries:
    Node: 22.9.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.3 - C:\Program Files\nodejs\npm.CMD
    bun: 1.1.31 - C:\Bin\bun.EXE
  Browsers:
    Edge: Chromium (130.0.2849.52)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    vite: ^5.4.10 => 5.4.10 
    vitest: ^2.1.4 => 2.1.4

Used Package Manager

npm

Validations

@hi-ogawa
Copy link
Contributor

hi-ogawa commented Nov 1, 2024

This is a duplicate of #6806 It's happening since last release v2.1.4. The fix is planned and please check the linked issue for workaround #6806 (comment).

@hi-ogawa hi-ogawa closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants