Worker using multiple modules in a single bundle

Hi, I've recently upgraded my wrangler from 3.52.0 to 3.56.0 (no code is changed), and I'm getting an error when I run wrangler dev:
✘ [ERROR] workerd/jsg/_virtual_includes/jsg/workerd/jsg/modules.h:443: warning: NOSENTRY Worker using multiple modules in a single bundle.
I wonder what may be the possible cause? Dependencies:
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.1.0",
"@cloudflare/workers-types": "^4.20240512.0",
"typescript": "^5.0.4",
"vitest": "1.3.0",
"wrangler": "^3.56.0"
}
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.1.0",
"@cloudflare/workers-types": "^4.20240512.0",
"typescript": "^5.0.4",
"vitest": "1.3.0",
"wrangler": "^3.56.0"
}
Running on Mac M1
1 Reply
Rohit Verma
Rohit Verma7mo ago
faced exactly same issue with my today's experiment. I am trying to go through the nextjs learning exercise https://nextjs.org/learn/dashboard-app, but replacing vercel everywhere with cloudflare include vercel database -> cloudflare d1. Here is my initial code https://github.com/rverma-dev/demo-nextjs if it helps in spotting the above issue. Any other suggestions are welcome too 🙂
GitHub
GitHub - rverma-dev/demo-nextjs
Contribute to rverma-dev/demo-nextjs development by creating an account on GitHub.
Want results from more Discord servers?
Add your server