You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to deploy the firelabs-net/workers-next template and having made no changes to the template, the npm run deploy fails. Specifically the wrangler deploy step fails.
This is happening on a Windows machine in standard PowerShell terminal as well as WSL Ubuntu and Debian.
✘ [ERROR] Build failed with 1 error:
✘ [ERROR] Could not resolve
"C:Users\tdesmondProjects\tempempty-hall-5379.open-nextserver-functionsdefaultcache.cjs"
.open-next/server-functions/default/handler.mjs:30791:39:
30791 │ ...= require('C:\Users\tdesmond\Projects\temp\empty-hall-5379\....
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path
"C:Users\tdesmondProjects\tempempty-hall-5379.open-nextserver-functionsdefaultcache.cjs" as
external to exclude it from the bundle, which will remove this error. You can also surround this
"require" call with a try/catch block to handle this failure at run-time instead of bundle-time.
Steps to reproduce
On a Windows machine create new Next.js project based on the 0.3 build npm create cloudflare@latest -- --template https://github.com/flarelabs-net/workers-next
Attempt to deploy the application npm run deploy
Expected behavior
I'm expecting npm run deploy to complete without errors and deploy my application to Workers Assets.
@opennextjs/cloudflare version
0.3
Wrangler version
3.99.0
next info output
Operating System:
Platform: win32
Arch: x64
Version: Windows 11 Pro
Available memory (MB): 32206
Available CPU cores: 22
Binaries:
Node: 20.16.0
npm: N/A
Yarn: N/A
pnpm: N/A
Relevant Packages:
next: 14.2.5 // An outdated version detected (latest is 15.1.2), upgrade is highly recommended!
eslint-config-next: 14.2.5
react: 18.3.1
react-dom: 18.3.1
typescript: 5.7.2
Next.js Config:
output: N/A
⚠ An outdated version detected (latest is 15.1.2), upgrade is highly recommended!
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
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
When attempting to deploy the firelabs-net/workers-next template and having made no changes to the template, the
npm run deploy
fails. Specifically thewrangler deploy
step fails.This is happening on a Windows machine in standard PowerShell terminal as well as WSL Ubuntu and Debian.
Steps to reproduce
npm create cloudflare@latest -- --template https://github.com/flarelabs-net/workers-next
npm run deploy
Expected behavior
I'm expecting
npm run deploy
to complete without errors and deploy my application to Workers Assets.@opennextjs/cloudflare version
0.3
Wrangler version
3.99.0
next info output
Additional context
No response
The text was updated successfully, but these errors were encountered: