Comments (8)
I am also encountering the same error.
[email protected]
- Works fine.
[email protected]
to3.1.36
- Doesn't work.
When trying again, I had to remove .next
once, otherwise I got the same error with 3.1.31
.
pnpm install; rm -rf .next; pnpm dev
from ai.
@lgrammel I think the issue is not resolved.
Using the latest version [email protected]
with [email protected]
. (On fresh installed node_modules + removed .next)
When having a client component like...
"use client";
export default function Text({ content }: { content: string }) {
return (<p>{content}</p>);
}
...and streaming it with either createStreamableValue
or createStreamableUI
, then I get the following error (on the client using readStreamableValue
):
Error: Could not find the module
"/User/dev/test/app/example/test.tsx#default" in the React Client Manifest. This is probably a bug in the React Server Components bundler.
The same, when I use the client component in a parent server component. When using the server component as a parent, the server component first loads and then the error pops up.
Seams like the bundling of the client component is not done the right way. And maybe it is an issue for the next bundler. (Here we are pushing the limits of Next.js ^^)
from ai.
Probably the same problem #1933
from ai.
It probably is, having the same issue here too. With the versions mentioned above.
Funny enough, I'm getting the same error even after I rolled back to the previous known working version of ai (3.1.3) and next (14.1.0). I tried removing .next
but still no lack...
from ai.
I'm getting the same error, this seems like a wonky bug :D
from ai.
Same here , reverting to [email protected] getting it work again, thx @hotchpotch
from ai.
from ai.
I noticed when using dynamic import, that it seems to work somehow. But cannot verify it is fixed, since I have also introduced some changes to other parts of my codebase.
from ai.
Related Issues (20)
- Edge Runtime: convertToCoreMessages() fails to process base64 image data, unlike in local development HOT 22
- Google Gemini AI: toolChoice doesn't work HOT 2
- AI State History Not Updating HOT 1
- feat: ability to define fallback model / provider
- feat: add exponential backoff to avoid rate limits HOT 1
- Add `onGeneration` hook and refactor `onFinish` in `useChat`
- AI_TypeValidationError error with streamText().toAIStream() HOT 5
- generateObject in Vercel SDK AI does not properly catch JSONParseError in Next.js HOT 3
- Errors when transpiling HOT 3
- Tool-use is incorrect when using Vercel AI SDK (OpenAI Provider) HOT 5
- structuredOutputs doesn't work with generateText and streamText HOT 2
- Message prompt for image should support OpenAI syntax or warn user HOT 5
- Support prompt caching HOT 3
- Override maxToolRoundtrips per tool call HOT 1
- createStructuredFewShot prompt helper
- Error processing an error response HOT 5
- Unable to render "tool running" for client-side tools
- Server-managed state HOT 3
- useChat not sending header options in request HOT 3
- Incorrect Link for Google Vertex AI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai.