Git Product home page Git Product logo

Comments (8)

hotchpotch avatar hotchpotch commented on August 27, 2024 1

I am also encountering the same error.

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.

mxzinke avatar mxzinke commented on August 27, 2024 1

@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.

hotchpotch avatar hotchpotch commented on August 27, 2024

Probably the same problem #1933

from ai.

tsoumdoa avatar tsoumdoa commented on August 27, 2024

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.

jamesaphoenix avatar jamesaphoenix commented on August 27, 2024

I'm getting the same error, this seems like a wonky bug :D

from ai.

MikolajKulesz avatar MikolajKulesz commented on August 27, 2024

Same here , reverting to [email protected] getting it work again, thx @hotchpotch

from ai.

lgrammel avatar lgrammel commented on August 27, 2024

#2068

from ai.

mxzinke avatar mxzinke commented on August 27, 2024

@lgrammel

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.