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
I want do create an upload route which uses the @aws-sdk/client-s3 package. However when I use it as I do normally the error below gets thrown. I tried the minio package which also didn't work. I guess it's a common issue with packages?
1:43:51 PM [vite] Error when evaluating SSR module /Users/bene/Code/share/app/server.ts:
|- ReferenceError: Can't find variable: require
at <anonymous> (:5:26)
at anonymous (:1:26)
at <anonymous> (/Users/bene/Code/share/node_modules/vite/dist/node/chunks/dep-C1-ZB6nQ.js:53450:5)
at processTicksAndRejections (:12:39)
1:43:51 PM [vite] Internal server error: Can't find variable: require
at <anonymous> (:5:26)
at anonymous (:1:26)
at <anonymous> (/Users/bene/Code/share/node_modules/vite/dist/node/chunks/dep-C1-ZB6nQ.js:53450:5)
at processTicksAndRejections (:12:39)
Additional information
No response
The text was updated successfully, but these errors were encountered:
What version of HonoX are you using?
0.1.23
What steps can reproduce the bug?
I want do create an upload route which uses the
@aws-sdk/client-s3
package. However when I use it as I do normally the error below gets thrown. I tried theminio
package which also didn't work. I guess it's a common issue with packages?bun create hono@latest
bun add @aws-sdk/client-s3
What is the expected behavior?
Be able to use S3 client without issues.
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: