Warning: Accessing non-existent property 'b2u' of module exports inside circular dependency
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
FIX:
const FLAGS = kbpgp["const"].openpgp;
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!
@navya476 Did you ever figure this out? I'm having the same issue.
@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.