8000 Next.js client-side error on production in the version 4.3.0 · Issue #81 · andreizanik/cookies-next · GitHub
[go: up one dir, main page]

Skip to content

Next.js client-side error on production in the version 4.3.0 #81

Open

Description

@icaronowcm

"In this new update '4.3.0,' the library started throwing a new error in production. I fixed the version to '4.2.1,' and the error was gone!"

2117-15fb04c807f265ba.js:1 TypeError: argument name is invalid
at t.serialize (8669-d0ad87f3fcb942d0.js:1:38692)
at t.setCookie (8669-d0ad87f3fcb942d0.js:1:42580)
at layout-d5ef98a14567a2c8.js:1:23308
at aW (fd9d1056-e1f8238183e3a8d9.js:1:73244)
at oe (fd9d1056-e1f8238183e3a8d9.js:1:84685)
at ol (fd9d1056-e1f8238183e3a8d9.js:1:85323)
at or (fd9d1056-e1f8238183e3a8d9.js:1:85207)
at ol (fd9d1056-e1f8238183e3a8d9.js:1:86268)
at or (fd9d1056-e1f8238183e3a8d9.js:1:85207)
at ol (fd9d1056-e1f8238183e3a8d9.js:1:85303)

Activity

  1. enchorb commented on Oct 9, 2024

    @enchorb

    +1 getting this as well

  2. bjarn commented on Oct 21, 2024

    @bjarn

    I also stumbled on this issue. I used characters such as a semicolon in my key. Apparently, this is incompatible with the recent bump of cookies (#80).

    See: jshttp/cookie#167

    For me, changing the key to something else (in this case I used an underscore) fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0