sushinpv / react-secure-storage

This is a wrapper written above local storage to write the data securely to local storage
https://npmjs.com/package/react-secure-storage
MIT License
126 stars 12 forks source link

why i got process is not defined #4

Closed nurwanto18 closed 2 years ago

nurwanto18 commented 2 years ago

main.js:113158 Uncaught ReferenceError: process is not defined at getFingerprint (main.js:113158:8) at new EncryptionService (main.js:113088:47) at getAllLocalStorageItems (main.js:113579:19) at new SecureLocalStorage (main.js:113475:64) at ./node_modules/react-secure-storage/dist/index.js (main.js:113535:26) at webpack_require (main.js:128421:33) at fn (main.js:128655:21) at ./src/pages/Login.js (main.js:37340:78) at webpack_require (main.js:128421:33) at fn (main.js:128655:21)

nurwanto18 commented 2 years ago

done, you must install react script below v5, v5 can give you error thanks