-
Notifications
You must be signed in to change notification settings - Fork 153
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
[Bug] Error while using middleware from Next 12.2 #367
Comments
Middleware is not supported with Lambda and Lambda@Edge, as mentioned both in the top of README and in this issue: #273 (comment) This, coupled with lack of support for redirects in getServerSideProps, means i am currently unable to use this project for any real-world usage. |
Does the
tf-next 1.0.0 canary5
supports middleware fromNext 12.2
? It has been changed because from developer perspective, now we are using filemiddleware.ts
at the root of the app instead_middleware.ts
in pages.After my investigation I noticed that
tf-next 1.0.0 canary 5
has a trouble it while using commandtf-next build
. The error that appears is the following.I have used before
yarn build
and everything is fine. Does anyone has a tips how to workaround it. Please fix it because it seems to be an issue on library siteThe text was updated successfully, but these errors were encountered: