> 24 | const token = (cookies() as any).get('token')
> 24 | const token = (cookies() as any).get('token')
| ^",
| ^",
"stack": [
"stack": [
"TypeError: {imported module ./nodemodules/.pnpm/next file+..+next-repo-0b36d073ae925c4eba722eaa190867133223877e8e123b2c4d00309ed9b3f21fdbdc34df3c435a7ad1512e006943e153/nodemodules/next/headers.js}.cookies(...).get is not a function",
> 18 | const userAgent = (headers() as any).get('user-agent')
> 18 | const userAgent = (headers() as any).get('user-agent')
| ^",
| ^",
"stack": [
"stack": [
"TypeError: {imported module ./nodemodules/.pnpm/next file+..+next-repo-0b36d073ae925c4eba722eaa190867133223877e8e123b2c4d00309ed9b3f21fdbdc34df3c435a7ad1512e006943e153/nodemodules/next/headers.js}.headers(...).get is not a function",
> 24 | const userAgent = (headers() as any).get('user-agent')
> 24 | const userAgent = (headers() as any).get('user-agent')
| ^",
| ^",
"stack": [
"stack": [
"TypeError: {imported module ./nodemodules/.pnpm/next file+..+next-repo-0b36d073ae925c4eba722eaa190867133223877e8e123b2c4d00309ed9b3f21fdbdc34df3c435a7ad1512e006943e153/nodemodules/next/headers.js}.headers(...).get is not a function",