I tried using this library over and over, debugging and building works, but when running the code i get
"Error: The script will never generate a response."
And when building and previewing i'm getting this error:
▲ [WARNING] Using direct eval with a bundler is not recommended and may cause problems [direct-eval]
.worker-next/index.mjs:9093:38:
9093 │ ... var stats = eval("require")(eval("require").resolve(path.joi...
Describe the bug
I tried using this library over and over, debugging and building works, but when running the code i get "Error: The script will never generate a response."
And when building and previewing i'm getting this error:
▲ [WARNING] Using direct eval with a bundler is not recommended and may cause problems [direct-eval]
.worker-next/index.mjs:9093:38: 9093 │ ... var stats = eval("require")(eval("require").resolve(path.joi...
You can read more about direct eval and bundling here: https://esbuild.github.io/link/direct-eval
Steps to reproduce
Creating simple next.js app, and appliying steps
Expected behavior
Expected to get a page response
@opennextjs/cloudflare version
0.2.1
Node.js version
20.17.0
Wrangler version
3
next info output
Additional context
No response