Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pavel-rudzenia opened this issue Dec 24, 2020 · 0 comments

Comments

@pavel-rudzenia
Copy link

(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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant