Skip to content

[BUG] add() function does not exist in system in SphereRegistryComponent.System #15

Open
@ResourceHog

Description

@ResourceHog

create a default system with aframe-typescript-toolkit

npm run start

open console

index.ts:21 Uncaught (in promise) TypeError: this.system.add is not a function
at i.SphereRegistryComponent.init (VM1783 index.js:10035)
at i.updateProperties (component.js:270)
at HTMLElement.value (a-entity.js:501)
at HTMLElement.value (a-entity.js:474)
at a-entity.js:267
at a-node.js:129

upon inspection
this.system is undefined so of course this.system.add is not a function.
This behavior is strange doesn't aframe automatically add systems to components of the same name?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions