8000 [BUG] TypeError: handler3 is not a function · Issue #508 · opennextjs/opennextjs-cloudflare · GitHub
[go: up one dir, main page]

Skip to content
[BUG] TypeError: handler3 is not a function #508
Closed
@LilaRest

Description

@LilaRest

Describe the bug

After upgrading from 0.5.12 to 0.6.2, running the preview server with opennextjs-cloudflare build && opennextjs-cloudflare preview leads to the app building and starting correctly, but when visiting http://localhost:8787 I'm facing this error TypeError: handler3 is not a function.

EDIT 1: I tried a deployment and the same happens here. So it's not limited to preview.

EDIT 2: Downgrading to 0.6.1 and 0.6.0 didn't solve the issue, so it has likely be introduced in 0.6.0

EDIT 3: Downgrading to 0.5.12 solved the issue, without having to downgrade Wrangler. So that confirms that the issue is very likely related to opennextjs-cloudflare.

Image

Steps to reproduce

  1. Upgrade to 0.6.2
  2. Run preview

Expected behavior

The preview running without error :)

@opennextjs/cloudflare version

0.6.2

Wrangler version

4.5.0

next info output

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.4.0: Wed Mar 12 21:20:55 PDT 2025; root:xnu-11417.101.13~4/RELEASE_ARM64_T6031
  Available memory (MB): 131072
  Available CPU cores: 16
Binaries:
  Node: 23.3.0
  npm: 10.9.0
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.2.4 // Latest available version is detected (15.2.4).
  eslint-config-next: N/A
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.8.2
Next.js Config:
  output: N/A

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0