Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm writing a Sveltekit app and using
lucia
for user authentication, which depends onoslo
, which in turn depends on@node-rs/argon2
.When attempting to deploy the app with SST, I get this error:
At first I tried getting help from SST, and had a long conversation with a GPT plugin that has access to the docs, and got nowhere.
There are two problems here that I see:
.node
files, and I'm not really sure how to configure it to fix that; and.node
file when bundling and uploading to the server. I checked@node-rs/argon2/index.js
and see that it pullsprocess.platform
andprocess.arch
and picks what binary to pull from at runtime. I tried overwritingprocess.platform
andprocess.arch
in my vite.config.ts like this, but it didn't make any change in the.node
file that argon2 was attempting to load.Any idea how to remedy either of these two issues? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions