Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The edge runtime does not support Node.js 'buffer' module in middlewares #8

Open
Faraz1995 opened this issue Oct 9, 2022 · 0 comments

Comments

@Faraz1995
Copy link

Faraz1995 commented Oct 9, 2022

hi
in nextjs 12.2.5 and jsonwebtoken 8.5.1
we can not import verifyToken in middleware.js , it cause error
"The edge runtime does not support Node.js 'buffer' module."
what's is correct way in next js 12.2.5?
and why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant