Skip to content

Update to next15 / react19 causes type errors in the console #934

@pepew-le-boss

Description

@pepew-le-boss

I've updated my next project to the version 15 coming with react version 19.

But now when I build the app and run it, I get 2 different type errors in the console:

  1. [TypeError: Cannot read properties of undefined (reading 'isDynamic')]
  2. [Error: failed to pipe response] { [cause]: [TypeError: readable.pipeTo is not a function] }

I can still build the app, still use the app and still use the cache, basically everything is working fine.
But these two errors are spammed in the console every time I navigate or do actions on the website.

Because I pay the log usage once the app is deployed, this bug is major for me.

I'm almost certain the bug come from this library because when I don't use this cache and fallback to the next cache, these errors are not logged anymore.

Environment:

  • OS: Windows
  • Node.js version: 18.18.0
  • @neshca/cache-handler version: 1.9.0
  • next version: 15.1.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions