Skip to content

got an error in nextjs 13.4.4:TypeError: Cannot read properties of undefined (reading '$_root') #2952

Open
@CrazyXiaoSong

Description

@CrazyXiaoSong

Support plan

  • is this issue currently blocking your project? (yes/no):yes
  • is this issue affecting a production system? (yes/no):yes

Context

  • node version: 18.15.0
  • module version with issue: 17.9.2
  • last module version without issue: 17.9.2
  • environment (e.g. node, browser, native): nextjs
  • used with (e.g. hapi application, another framework, standalone, ...):
  • any other relevant information:

What are you trying to achieve or the steps to reproduce?

fix error

const some = 'properly formatted code example';

What was the result you got?

TypeError: Cannot read properties of undefined (reading '$_root')

What result did you expect?

no error

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportQuestions, discussions, and general support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions