Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Deploy a Next.js site · Cloudflare Pages... - Cloudflare Developers
CD
Cloudflare Developers
•
3y ago
Ln_north
Deploy a Next.js site · Cloudflare Pages...
I
'm using Next
.js created with create
-next
-app
. When I start Next with commands like
yarn dev
yarn dev
, I want to use a local D1 created with
npx wrangler d1 somecommand --local
npx wrangler d1 somecommand --local
in
api/foo/bar/route.ts
api/foo/bar/route.ts
. However
, even after referring to the following page
, I can
't seem to bind it properly in my local environment
.
https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/#use-bindings-in-your-nextjs-application
Is this an issue unique to my environment
? Is there any way to fix this
?
Deploy a Next.js site · Cloudflare Pages docs
Next
.js is an open
-source React framework for creating websites and applications
. In this guide
, you will create a new Next
.js application and deploy
…
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
86,529
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Next.js on Cloudflare with D1?
CD
Cloudflare Developers / d1-database
3y ago
Hello I need help with next-on-pages, I
CD
Cloudflare Developers / d1-database
3y ago
```js
CD
Cloudflare Developers / d1-database
3y ago