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.

`res._implicitHeader` is not a function with `express-session`

See original GitHub issue
// Middleware definition
fromNodeMiddleware(
    session({
      secret,
      resave: false,
      saveUninitialized: true,
    }) as any
  )

// Used in nuxt eventually
export default defineEventHandler(middleware);

I belive this is a minor error from either session’s part or h3 not supporting compatibility

If the issue isn’t seem obvious enough, let me know so I can give a more detailed report and a reproduction

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
NozomuIkutacommented, Nov 18, 2022

@nopeless

error from either session’s part or h3 not supporting compatibility

I can give a more detailed report and a reproduction

TBH, it’s the best way to provide a reproduction from the beginning, for other people to find where is the root cause and consequently help you in some way.

0reactions
nopelesscommented, Nov 28, 2022

#253 Will be the new tracker for this

Read more comments on GitHub >

github_iconTop Results From Across the Web

still getting this._implicitHeader is not a function after installing ...
Describe the bug vite preview still fails when visiting "http://localhost:5000" after running "npm run serve". Node.js v14.18.3 Vite ...
Read more >
Session is not working in express js - Stack Overflow
When I login to the application via post request the the cookie will created,but Session is not working for me. Server.js var bodyParser...
Read more >
Express session middleware
Create a session middleware with the given options . Note Session data is not saved in the cookie itself, just the session ID....
Read more >
How to Manage Session using Node.js and Express
After creating Session variables like sess.email , we can check whether this variable is set or not in other routers and can track...
Read more >
Use TypeScript to Build a Node API with Express
Like it or not, JavaScript has been helping developers power the Internet since 1995. In that time, JavaScript usage has grown from small ......
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