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
Copy file name to clipboardExpand all lines: docs/nextjs.md
-1
Original file line number
Diff line number
Diff line change
@@ -34,5 +34,4 @@ And Next.js forces ESM mode.
34
34
## Next.js Edge Runtime
35
35
36
36
Mongoose does **not** currently support [Next.js Edge Runtime](https://nextjs.org/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes#edge-runtime).
37
-
While you can import Mongoose in Edge Runtime, you'll get [Mongoose's browser library](browser.html).
38
37
There is no way for Mongoose to connect to MongoDB in Edge Runtime, because [Edge Runtime currently doesn't support Node.js `net` API](https://edge-runtime.vercel.app/features/available-apis#unsupported-apis), which is what the MongoDB Node Driver uses to connect to MongoDB.
0 commit comments