-
-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read properties of undefined (reading 'create') #741
Comments
I'm getting similar error EDIT: was a mistake in the Supabase code that I'd follow. I already fix it |
Can you try remove these lines (since you already have set them as external):
I think this is the problem, which ignores these packages. |
Now I get the following error when commenting out these lines:
|
Any updates on this? Im facing exactly the same issue. |
It looks like Next.js v14 has removed |
Within the past week, it's back to https://nextjs.org/docs/app/api-reference/next-config-js/serverComponentsExternalPackages. I've updated the example apps to Next.js v14, which you can follow to ensure you don't run into this issue.
|
Unfortunately this is still happening. Any updates? I am trying to generate embeddings on a server component.
And I call it like this
I have to include webpack code as well even though yours just had the experimental flag otherwise I get the same error as the person above.
Appreciate any assistance. Thanks! |
System Info
"@xenova/transformers": "^2.17.1",
"onnxruntime-node": "^1.17.0",
Windows 11
Chrome
❯ npm --version
10.5.2
❯ node --version
v22.0.0
Next.js v14.0.4
Environment/Platform
Description
I am trying to use the pipeline API in my Nextjs app ( more specifically in a NextJS API Route).
But I am getting the below error. I am not sure what I am doing wrong.
This is my next.config.mjs:
I am calling pipeline server-side:
Any help/recommendation would be highly appreciated!
Reproduction
The text was updated successfully, but these errors were encountered: