Open Matthew-Oluwajuwon opened 3 months ago
Getting the issue too
ERROR Test failed: [TypeError: Cannot read property 'install' of null]
using version 2.7.3
const testOpenPGP = async () => { try { if (OpenPGP.encrypt) { console.log("Encrypt method is available."); const result = await OpenPGP.encrypt('Test message', '-----BEGIN PGP PUBLIC KEY BLOCK-----...'); console.log('Encryption result:', result); } else { console.error('Encrypt method is not available.'); } } catch (error) { console.error('Test failed:', error); } };
testOpenPGP();
Getting the issue too
ERROR Test failed: [TypeError: Cannot read property 'install' of null]
using version 2.7.3
const testOpenPGP = async () => { try { if (OpenPGP.encrypt) { console.log("Encrypt method is available."); const result = await OpenPGP.encrypt('Test message', '-----BEGIN PGP PUBLIC KEY BLOCK-----...'); console.log('Encryption result:', result); } else { console.error('Encrypt method is not available.'); } } catch (error) { console.error('Test failed:', error); } };
testOpenPGP();