We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Throws a friendly error if the middleware directory doesn't exist.
ERROR Failed to compile with 1 errors This relative module was not found: * ./middleware in ./.nuxt/auth.js
To Reproduce
Expected behavior
Should work also without middleware dir, if you don't have any middleware there is no need for the directory. Nuxt itself also allows it.
Screenshots
The text was updated successfully, but these errors were encountered:
c331f05
Merge pull request #8 from loonpwn/hf/module-middleware-bug
9734b9f
fix(build): no disabling middleware, fixes #7
Thank you @toniengelhardt
Previously I was disabling the middleware nuxt feature if you didn't have the folder, but that was clearly a mistake.
The next patch won't have this logic and will resolve your issue.
Sorry, something went wrong.
Thanks @loonpwn, appreciate it!
Great module btw!
No branches or pull requests
Describe the bug
Throws a friendly error if the middleware directory doesn't exist.
To Reproduce
Expected behavior
Should work also without middleware dir, if you don't have any middleware there is no need for the directory. Nuxt itself also allows it.
Screenshots
The text was updated successfully, but these errors were encountered: