aunthazel
(Aunthazel)
June 26, 2025, 9:20pm
1
Hello! I’m bit rookie in all this but i have app working ok on vercel
than i added @google/genai package - it works ok locally
but when i deploy it to vercel i got
**500**: INTERNAL_SERVER_ERRORCode: `FUNCTION_INVOCATION_FAILED`
in logs i see this
Cannot find module '/var/task/node_modules/@google/genai/dist/node/index.cjs'
Did you forget to add it to "dependencies" in `package.json`?
Node.js process exited with exit status: 1. The logs above can help with debugging the issue.
pawlean
(Pauline P. Narvas)
June 26, 2025, 10:05pm
3
Hey, @aunthazel ! Welcome to the Vercel Community
Have you tried the troubleshooting steps outlined here?
aunthazel
(Aunthazel)
June 27, 2025, 6:53am
4
Yes i do
as i said error logs in Vercel dashboard indicate to @google /genai package wich works perfect localy.
pawlean
(Pauline P. Narvas)
June 27, 2025, 2:22pm
5
What does your package.json look like?
aunthazel
(Aunthazel)
June 27, 2025, 3:35pm
6
I’m not alone with this problem as i can see
pawlean
(Pauline P. Narvas)
June 30, 2025, 7:38pm
8
The error suggests the package is being found but the specific entry point file isn’t there, which is different from a completely wrong package name.
Could you share the relevant code where you’re importing and using the Google AI functionality? That would help pinpoint the exact issue.
aunthazel
(Aunthazel)
June 30, 2025, 8:40pm
9
of course, here is all where i use genai
aunthazel
(Aunthazel)
July 11, 2025, 8:17pm
10
Hi. is there any solutions?
system
(system)
Closed
October 9, 2025, 8:17pm
11
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.