Skip to content

[nodejs 14] Warning: Accessing non-existent property 'prototype' of module exports inside circular dependency #76

@pavel-rudzenia

Description

@pavel-rudzenia

(node:87541) Warning: Accessing non-existent property 'prototype' of module exports inside circular dependency at emitCircularRequireWarning (internal/modules/cjs/loader.js:853:11) at Object.get (internal/modules/cjs/loader.js:867:5) at new ViewModel (/node_modules/cqrs-eventdenormalizer/node_modules/viewmodel/lib/viewmodel.js:17:28)

Hey!
Any chance it'll be fixed in near future or no plans and all the hopes lies with the community?
https://github.com/thenativeweb/node-viewmodel/blob/master/lib/viewmodel.js#L17-L23
Seems those lines don't have any sense in case Repository.prototype is undefined (in debug mode I receive Repository isn't a constructor).

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