You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey all, anyone come across this issue? Not sure how to reproduce / where to start
listenerMiddleware/error Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at new NodeError (node:internal/errors:372:5)
at Proxy.setHeader (node:_http_outgoing:576:11)
at Object.setCookie (/Users/username/project/node_modules/nookies/dist/index.js:89:17)
at StateCookies.set (/Users/username/project/node_modules/next-redux-cookie-wrapper/dist/next-redux-cookie-wrapper.cjs.development.js:217:13)
at /Users/username/project/node_modules/next-redux-cookie-wrapper/dist/next-redux-cookie-wrapper.cjs.development.js:386:29
at /Users/username/project/node_modules/next-redux-cookie-wrapper/dist/next-redux-cookie-wrapper.cjs.development.js:250:22
at Immer.produce (/Users/username/project/node_modules/immer/dist/immer.cjs.development.js:792:20)
at walkState (/Users/username/project/node_modules/next-redux-cookie-wrapper/dist/next-redux-cookie-wrapper.cjs.development.js:246:11)
at /Users/username/project/node_modules/next-redux-cookie-wrapper/dist/next-redux-cookie-wrapper.cjs.development.js:382:17
at /Users/username/project/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.development.js:1792:22 {
code: 'ERR_HTTP_HEADERS_SENT'
} { raisedBy: 'effect' }
The text was updated successfully, but these errors were encountered:
I remember #25 was related to this. My answer there should apply to you as well. I'll think about preventing this error and logging a helpful error message instead.
Hey all, anyone come across this issue? Not sure how to reproduce / where to start
The text was updated successfully, but these errors were encountered: