Can't use binary dependencies in api endpoints
Hi, i'm currently using the "@node-rs/argon2" package in a trpc api being exposed as an endpoint via solidstart, and when I try to build the app, I get the following error:
Is there some way I can specify "@node-rs/argon2" as an external dependency to not be bundled, and just manually include it in node_modules in my (node22) docker image?
Thanks!
1 Reply
If anyone has this same issue in the future, I ended up solving it by pulling solidstart out of my stack, and refactoring to use this template I made https://github.com/Kyritec/solidjs-hono-starter
GitHub
GitHub - Kyritec/solidjs-hono-starter: A starter project for using ...
A starter project for using solidjs and hono together. - Kyritec/solidjs-hono-starter