Getting error after updating nuxt 3 latest version 3.0.0-rc.12
See original GitHub issueEnvironment
WARN [h3] Implicit event handler conversion is deprecated. Use eventHandler() or fromNodeMiddleware() to define event handlers. 15:32:37 Route: /_tailwind Handler: (req, res) => { if (req.originalUrl === withoutTrailingSlash(route)) { res.writeHead(301, { Location: withTrailingSlash(req.originalUrl) }); return res.end(); } _viewerDevMiddleware(req, res); }
Reproduction
https://stackblitz.com/edit/github-znnnqs-aafb4f?file=package.json
Describe the bug
Getting below error while starting server:
WARN [h3] Implicit event handler conversion is deprecated. Use eventHandler() or fromNodeMiddleware() to define event handlers. 15:32:37 Route: /_tailwind Handler: (req, res) => { if (req.originalUrl === withoutTrailingSlash(route)) { res.writeHead(301, { Location: withTrailingSlash(req.originalUrl) }); return res.end(); } _viewerDevMiddleware(req, res); }
Additional context
efwef
Issue Analytics
- State:
- Created a year ago
- Comments:9 (3 by maintainers)
Top GitHub Comments
You can update your package.json and rerun your package manager’s install command.
Upgrade to v6 of the tailwind module and you should be fine.