#NextJS 13 cookies.get is not a function
5 messages · Page 1 of 1 (latest)
Can we see how you are calling it in the code?
I wouldn't expect cookies.get() to work, but I would expect cookies().get() to work.
yeah i’m literally brain dead tysm
5 messages · Page 1 of 1 (latest)
I get this error when trying to use the imported cookie function from "next/headers"
"Error: next_headers__WEBPACK_IMPORTED_MODULE_1__.cookies.get is not a function"
Can we see how you are calling it in the code?
I wouldn't expect cookies.get() to work, but I would expect cookies().get() to work.
yeah i’m literally brain dead tysm