Skip to content

Uncaught TypeError:classPrivateFieldGet2(...).entries(...).forEach is not a function #727

@Silvana-kite

Description

@Silvana-kite

Describe the bug
您好,请问,我项目使用的vue2+three@0.147.0+3d-force-graph@1.70.17,我现在一使用this.forceGraph = ForceGraph3D()(document.getElementById('3d-graph')),这段代码就会报错

To Reproduce
Steps to reproduce the behavior:

  1. 就在项目中使用this.forceGraph = ForceGraph3D()(document.getElementById('3d-graph'))
  2. uncaught TypeError: classPrivateFieldGet2(...).entries(...).forEach is not a function
    at ThreeDigest.digest (node modules 3d-forc.349595.js:115526:56)
    at ThreeDigest.clear (node modules 3d-forc.349595.js:115543:12)
    at Function.update (node modules 3d-forc_349595.js:117231:74)
    anode modules 3d-forc.349595.js:115687:16
    at invokeFunc(chunk-vendors.js:200735:19)
    at trailingEdge(chunk-vendors.js:200784:14)
    at timerExpired(chunk-vendors.is:200772:14)

Expected behavior
想知道这个问题在哪里,还是说数据的问题,因为在其他项目里面同一套代码和依赖运行是没有任何问题的,应该怎么解决

Screenshots

Image

Desktop (please complete the following information):

  • chrome 110.0.5481.177(64位)

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