We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Writing a test that involves an import from @aws-sdk/client-s3 causes errors like:
@aws-sdk/client-s3
Cannot find module 'C:\Users\<path-to-folder>\vitest-3-regression\node_modules\@aws-sdk\core\dist-es\submodules\client\index' imported from C:\Users\<path-to-folder>\node_modules\@aws-sdk\core\dist-es\index.js
https://github.com/vladkrasn/vitest-3-regression
npm install npm run test
Produces the errors.
Switching to v2 using
npm install vitest@2
fixes the issue
System: OS: Windows 11 10.0.26100 CPU: (16) x64 AMD Ryzen 7 9800X3D 8-Core Processor Memory: 4.19 GB / 31.10 GB Binaries: Node: 22.13.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.21 - C:\Program Files\nodejs\yarn.CMD npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD pnpm: 9.10.0 - C:\Program Files\nodejs\pnpm.CMD Browsers: Edge: Chromium (129.0.2792.65) Internet Explorer: 11.0.26100.1882 npmPackages: vitest: ^3.0.0 => 3.0.0
npm
The text was updated successfully, but these errors were encountered:
EDIT: removing comment as issue is probably duplication of #7266
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
Writing a test that involves an import from
@aws-sdk/client-s3
causes errors like:Reproduction
https://github.com/vladkrasn/vitest-3-regression
Produces the errors.
Switching to v2 using
fixes the issue
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: