michelonsouza / encrypt-storage

EncryptStorage provide a little more security in frontend
MIT License
266 stars 13 forks source link

Uncaught ReferenceError: globalThis is not defined #505

Closed skp92 closed 2 years ago

skp92 commented 2 years ago

Describe the bug After installing this package and running the app I am getting this error.

image

Can somebody check?

Node version - 14.19.1

michelonsouza commented 2 years ago

Hello @skp92, how are you? I will analyze this, can you tell me if you are using it with CRA, Vite, NextJS, Angular or pure webpack?

Thank you very much.

michelonsouza commented 2 years ago

Meanwhile, I made a change in version 2.12.10, could you please update and check if the error still persists? Thank you very much.

skp92 commented 2 years ago

Hello @skp92, how are you? I will analyze this, can you tell me if you are using it with CRA, Vite, NextJS, Angular or pure webpack?

Thank you very much.

Hi @michelonsouza , thank you for checking this. I am using with React app, after update issue got fixed. We are good to close this issue.