Skip to content

I've got error with nuxt v3: Cannot set properties of undefined (setting 'auth') #1719

@adminoid

Description

@adminoid

Version

module: 5.0.0-1648802546.c9880dc
nuxt: ^3.0.0-27467056.93c4dfe

Nuxt configuration

mode:

  • universal
  • spa

Nuxt configuration

Reproduction

Cannot set properties of undefined (setting 'auth')
at $id_9de234f6 (file://./.nuxt/dist/server/server.mjs:5911:36)
at async instantiateModule (file://./.nuxt/dist/server/server.mjs:8876:3)

What is actually happening?

I've got a error when run yarn dev command

Checklist

  • I have tested with the latest Nuxt version and the issue still occurs
  • I have tested with the latest module version and the issue still occurs
  • I have searched the issue tracker and this issue hasn't been reported yet

Steps to reproduce

Just install @nuxtjs/auth-next, run yarn dev and see the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions