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
I"m using next.js 15 and when i try the build command "build:worker": "opennextjs-cloudflare"
i get Unexpected error: unable to detect the node_modules/next/dist directory
error
i'm using turbo repo for mono repo
i checked my node_modules, it shows the dist folder
Steps to reproduce
execute "build:worker": "opennextjs-cloudflare" in a mono repo setup
Expected behavior
a successful build
@opennextjs/cloudflare version
0.3.3
Wrangler version
3.99.0
next info output
Operating System:
Platform: win32
Arch: x64
Version: Windows 10 Pro
Available memory (MB): 16310
Available CPU cores: 8
Binaries:
Node: 20.13.1
npm: 10.5.2
Yarn: 1.22.22
pnpm: N/A
Relevant Packages:
next: 15.1.2 // There is a newer version (15.1.3) available, upgrade recommended!
eslint-config-next: 14.1.4
react: 18.3.1
react-dom: 18.3.1
typescript: 5.4.3
Next.js Config:
output: N/A
⚠ There is a newer version (15.1.3) available, upgrade 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
Done in 2.63s.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I"m using next.js 15 and when i try the build command
"build:worker": "opennextjs-cloudflare"
i get
Unexpected error: unable to detect the node_modules/next/dist directory
error
i'm using turbo repo for mono repo
i checked my node_modules, it shows the dist folder
Steps to reproduce
execute "build:worker": "opennextjs-cloudflare" in a mono repo setup
Expected behavior
a successful build
@opennextjs/cloudflare version
0.3.3
Wrangler version
3.99.0
next info output
Additional context
No response
The text was updated successfully, but these errors were encountered: