Middleware can't be used with 'server only'
Unanswered
Belgian Hare posted this in #help-forum
Belgian HareOP
Throws error
This module cannot be imported from a Client Component module when importing a module that is marked with import 'serve-only