question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting error after updating nuxt 3 latest version 3.0.0-rc.12

See original GitHub issue

Environment

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:closed
  • Created a year ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
danielroecommented, Oct 19, 2022

You can update your package.json and rerun your package manager’s install command.

1reaction
danielroecommented, Oct 19, 2022

Upgrade to v6 of the tailwind module and you should be fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

v3.0.0-rc.12 · Discussion #8296 · nuxt/framework - GitHub
I had this issue too on 3.0.0-rc.12 , so tired updating to edge release but then I started getting another 500 error: injection...
Read more >
Problems with running Nuxt 3 [3.0.0-rc.3] on Apple silicon
I have updated npm to 8.11.0, and no issue on M1 Max. Vesrions I used: Nuxt: 3.0.0-rc.3; Node: v16.15.0; Npm 8.11.0.
Read more >
Slice Simulator Nuxt 3 - Developing with Prismic
Hello,. I am trying to setup with Prismic 3 and Nuxt 3 version, and get this error: We can't connect to the simulator...
Read more >
Nuxt 3 Deploy Failed: Rollup failed to resolve import "vue"
I've tried clearing the cache, redeploying, updating dependencies, etc. But, nothing gives. No public URL is yet available as the site isn't deployed....
Read more >
Nuxt 3 - a Popular Hybrid Vue Framework - The Codest
Beta version was launched on 12 October 2021, bringing into Nuxt Vue 3, ... (nuxt@3.0.0-rc.1) is planned to be released on 7 April...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found