#I am not able to load @google/generative-ai package in functions
8 messages · Page 1 of 1 (latest)
Project ID: 06cb7865-ffac-45cb-9918-5e0aba3accfa
06cb7865-ffac-45cb-9918-5e0aba3accfa
could you share your function code?
Hi there. You need to use import statements or dynamic imports. require is not support at this time.
I changed that but am facing a different issue the bun function code is running locally perfectly.
am getting "failed to forward request to upstream: connection refused" error. What does it mean and how to fix it.
please see our docs on that topic - https://docs.railway.com/reference/errors/application-failed-to-respond
!s