Open mckamyk opened 3 months ago
@thdxr was this intended?
i need a bit more information i think
if you are running sst dev <command>
it will look for any receivers (eg your remix site) that exist in that directory and pull in whatever is linked
are you sure you have linked bus to your remix site?
Yep, bus is linked. (works fine deployed to prod)
Would it matter if I'm working in a monorepo, and all of my event handlers are in different packages than remix?
bus.publish(...)
could probably throw together a replication repo for ya
The documentation says that we can use
sst dev <command>
to run the live lambdas, as well as whatever command to pull in the linked resources to that command, which is handy for development of UIs.After implementing EventBus I noticed that it doesn't seem passing in needed envs to link the event bus.
For me, running a remix app, I get by just fine by running
sst dev
andsst shell bun dev
in separate terminals.Of course, this only impacts if the UI (or whatever command) utilizes and emits events to a bus.
I get this error on build (on render, really)