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

Warning: Accessing non-existent property 'b2u' of module exports inside circular dependency #204

Open
j3g opened this issue Oct 16, 2020 · 4 comments

Comments

@j3g
Copy link

j3g commented Oct 16, 2020

this javascript line of code from the example code on the webisite... gives warning.
const F = kbpgp["const"].openpgp;

warning:

(node:57777) Warning: Accessing non-existent property 'b2u' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:57777) Warning: Accessing non-existent property 'u2b' of module exports inside circular dependency
(node:57777) Warning: Accessing non-existent property 'Pair' of module exports inside circular dependency
@j3g
Copy link
Author

j3g commented Dec 31, 2020

FIX:
const FLAGS = kbpgp["const"].openpgp;

@navya476
Copy link

navya476 commented Jun 18, 2021

Hi @j3g ,

I am using kbpgp with in a typescript module by importing it like const kbpgp = require('kbpgp') and I still get this warning. Any idea how I can overcome this?

Thank you in advance!

@cafreeman
Copy link

@navya476 Did you ever figure this out? I'm having the same issue.

@navya476
Copy link

@navya476 Did you ever figure this out? I'm having the same issue.

Nope, I couldn't figure this out. Still using in the same way.

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

3 participants