Comments (2)
You can also just add the middleware inside the src
folder.
from next13-messenger.
I am getting this error
Module parse failed: Identifier 'NextResponse' has already been declared (3:6)
| "use strict";
| const NextResponse = require("next/dist/server/web/spec-extension/response").NextResponse;
> const NextResponse = require("next/dist/server/web/spec-extension/response").NextResponse;
| var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
| Object.defineProperty(exports, "__esModule", {
Import trace for requested module:
./node_modules/next-auth/next/middleware.js
./node_modules/next-auth/middleware.js
I have tried what you have shown above, is there any fix for this?
from next13-messenger.
Related Issues (20)
- Images from cloudinary not working in production HOT 1
- Whether i18n is supported
- useEffect dependency issue in the useActiveChannel hook HOT 1
- Pusher Error: Getting a type error even when the api_key is string
- URL in GitHub points to next13-whatsapp.vercel.app, not next13-messenger.vercel.app
- In AuthForm when variant state changed then in page.tsx "sign in to your account" heading not changed.
- Adding `next-superjson-plugin` creating Error HOT 2
- Problem when I import the function getCurrentUser() HOT 2
- UserList map item issue HOT 1
- FullConversationType returning an Array with length of 0, in ConversationList.tsx HOT 1
- primsa does not support cascading deletes for many-to-many relationships
- error during deployment HOT 1
- usePathname only works in Client Components. HOT 1
- Pusher not updating after message post
- Issue with not create user in the register.js HOT 1
- Antonio
- ImageModal image size problem
- Follow your tutorial and 401 appears when you log in
- Type error: Route "app/api/auth/[...nextauth]/route.ts" does not match the required types of a Next.js Route. HOT 4
- deployment error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next13-messenger.