Skip to content

[BUG] : OpenNext build fails due to unresolved caniuse-lite package labelsΒ #216

@mdansarijaved

Description

@mdansarijaved

Describe the bug

OpenNext build fails during deployment of a plain Next.js application due to an unresolved caniuse-lite package dependency.

Steps to reproduce

  1. Create a new Next.js application
  2. Configure for OpenNext deployment
  3. Attempt to build/deploy

Expected behavior

Build should complete successfully and deploy the Next.js application. Next build was successfull but opennext build was failing due to unresolved package caniuse-lite.
image

@opennextjs/cloudflare version

0.3.3

Wrangler version

3.99.0

next info output

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:45 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8112
  Available memory (MB): 8192
  Available CPU cores: 8
Binaries:
  Node: 22.11.0
  npm: 10.9.0
  Yarn: N/A
  pnpm: 9.13.2
Relevant Packages:
  next: 15.0.4 // There is a newer version (15.1.3) available, upgrade recommended! 
  eslint-config-next: 15.0.4
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.7.2
Next.js Config:
  output: N/A

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions