Error: The Middleware "/middleware" must export a middleware
or a default
function
#77525
Unanswered
bovealexandre
asked this question in
Help
Replies: 1 comment 1 reply
-
Where is your middleware stored? In your root folder? Do you have app or src packages? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I have a problem with middleware in the last version of next.js, I get this error every time.
and in the console, this one :
Additional information
Beta Was this translation helpful? Give feedback.
All reactions