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
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Checkboxes for prior research
Describe the bug
I am using TypeScript and try to import from @aws-sdk/client-s3 in my Vitest tests. While trying to run the test, I got the error
Cannot find module '/Users/xxx/workspace/xxx/node_modules/.pnpm/@[email protected]/node_modules/@aws-sdk/core/dist-es/submodules/client/index' imported from /Users/xxx/workspace/xxx/node_modules/.pnpm/@[email protected]/node_modules/@aws-sdk/core/dist-es/index.js
.Regression Issue
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v22.13.0
Reproduction Steps
Observed Behavior
Error: Cannot find module '/Users/xxx/workspace/xxx/node_modules/.pnpm/@[email protected]/node_modules/@aws-sdk/core/dist-es/submodules/client/index' imported from /Users/xxx/workspace/xxx/node_modules/.pnpm/@[email protected]/node_modules/@aws-sdk/core/dist-es/index.js
Expected Behavior
Successfully import the classes
Possible Solution
No response
Additional Information/Context
Typescript: v5.7.3
Vite: v3.0.0
Vitest: v6.0.7
pnpm: v10.0.0
The text was updated successfully, but these errors were encountered: