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

[0.20.0] Error: Cannot find module '/Users/xxx/test-vitest/node_modules/.pnpm/vitest@0.20.0_jsdom@20.0.0/node_modules/vitest/suppress-warnings.cjs' #1748

Closed
6 tasks done
PatrickChen928 opened this issue Jul 31, 2022 · 2 comments · Fixed by #1750

Comments

@PatrickChen928
Copy link
Contributor

Describe the bug

In v0.20.0, run vitest, then:
Error: Cannot find module '/Users/xxx/test-vitest/node_modules/.pnpm/vitest@0.20.0_jsdom@20.0.0/node_modules/vitest/suppress-warnings.cjs'

Reproduction

https://stackblitz.com/edit/vitest-dev-vitest-r2ajdl?file=package.json,vite.config.ts&initialPath=__vitest__

System Info

System:
    OS: macOS 10.15.5
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
    Memory: 39.45 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 16.16.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 8.11.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 103.0.5060.134
    Safari: 13.1.1

Used Package Manager

pnpm

Validations

@sheremet-va
Copy link
Member

Should be fixed in 0.20.1, can you confirm?

@PatrickChen928
Copy link
Contributor Author

Should be fixed in 0.20.1, can you confirm?

It's ok, i will close

@github-actions github-actions bot locked and limited conversation to collaborators Jun 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants