Skip to content

TypeError: _crypto.getRandomValues is not a function #898

@b1ew

Description

@b1ew

Hi 👋,
I'm having trouble with session.save(), used within Next.js 15.1.5 /api/login/route
it throws error TypeError: _crypto.getRandomValues is not a function

Node v21.7.1

Image

What I'm missing here? can anyone shed a light..
Thanks!

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