Dependency Conflict in Next.js Cloudflare Template during npm install

Hey everyone, I'm using the Next.js Cloudflare template and trying to deploy using these settings: Build command: npm install --force Deploy command: npx wrangler deploy Root directory: / But I’m encountering this error during build: Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. I already tried using --force, but the issue persists. Any ideas on how to cleanly resolve this or handle the dependency conflict the proper way? Would appreciate any help šŸ™
4 Replies
ResearchPlays
ResearchPlaysOP•2d ago
@Cloudflare (Server Owner) @Community Champion
Isaac McFadyen
Isaac McFadyen•2d ago
?pings
SuperHelpflare
SuperHelpflare•2d ago
Please do not ping community members for non-moderation reasons. Doing so will not solve your issue faster and will make people less likely to want to help you.
ResearchPlays
ResearchPlaysOP•2d ago
mb

Did you find this page helpful?