-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
Description
Describe the bug
export CLOUDFLARE_API_TOKEN="9dO-V-oW-xxxxx_"
npm run deploy
Worker saved in `.open-next/worker.js` π
OpenNext build complete.
ββββββββββββββββββββββββββββββββ
β OpenNext β Cloudflare deploy β
ββββββββββββββββββββββββββββββββ
Using vars defined in .dev.vars
Populating R2 incremental cache...
Using vars defined in .dev.vars
ERROR Wrangler command failed
Steps to reproduce
npm run deploy

Expected behavior
success
@opennextjs/cloudflare version
1.8.5
Wrangler version
4.39.0
next info output
> frontend-app@0.1.0 info
> next info
This project is configured to use pnpm because /mnt/e/Repos/KnifeHubPro/src/frontend-app-cf-worker/package.json has a "packageManager" field
This project is configured to use pnpm because /mnt/e/Repos/KnifeHubPro/src/frontend-app-cf-worker/package.json has a "packageManager" field
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025
Available memory (MB): 9884
Available CPU cores: 4
Binaries:
Node: 20.14.0
npm: 10.7.0
Yarn: N/A
pnpm: 8.15.4
Relevant Packages:
next: 15.4.0-canary.52 // There is a newer canary version (15.6.0-canary.31) available, please upgrade!
eslint-config-next: 15.3.2
react: 19.1.0
react-dom: 19.1.0
typescript: 5.3.3
Next.js Config:
output: N/A
β There is a newer canary version (15.6.0-canary.31) available, please upgrade!
Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
Read more - https://nextjs.org/docs/messages/opening-an-issue
Additional context
"scripts": {
"build": "next build",
"preview": "opennextjs-cloudflare build && opennextjs-cloudflare preview",
"deploy": "opennextjs-cloudflare build && opennextjs-cloudflare deploy",
"upload": "opennextjs-cloudflare build && opennextjs-cloudflare upload",
"cf-typegen": "wrangler types --env-interface CloudflareEnv cloudflare-env.d.ts"
},
"@opennextjs/cloudflare": "^1.8.5",
"wrangler": "^4.39.0"
node.js v20.14.0
π¦ wsl --version
WSL version: 2.6.1.0
Kernel version: 6.6.87.2-1
WSLg version: 1.0.66
MSRDC version: 1.2.6353
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.19045.4412
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo