I am not able to load @google/generative-ai package in functions
kmsaikrishna
PROOP

a year ago

Solved

6 Replies

kmsaikrishna
PROOP

a year ago

06cb7865-ffac-45cb-9918-5e0aba3accfa


passos
MODERATOR

a year ago

could you share your function code?


jaredlunde
EMPLOYEE

a year ago

Hi there. You need to use import statements or dynamic imports. require is not support at this time.


kmsaikrishna
PROOP

a year ago

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.

1351152853770703000


brody
EMPLOYEE

a year ago

please see our docs on that topic -


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody 11 months ago


Loading...