How to use aws-sdk when serverPlatform forced in neutral #1367
Unanswered
cyberwombat
asked this question in
Help
Replies: 1 comment 1 reply
-
|
Same here. Created /utils/ses.server.ts as a wrapper. Adding the function calls inside action. I can't get it to work. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am wanting to use '@aws-sdk/client-s3' to create a presigned URL. I have implemented in this in a .server.ts file but when I launch the dev server I get errors about
Could not resolve "child_process"amongst others. I suspect this may be due to the serverPlatform forced in "neutral" mode though I am not certain. Is it possible to use the AWS SDK within hydrogen server pages?Sample code for
upload.server.tsBeta Was this translation helpful? Give feedback.
All reactions