marcuswestin / store.js

Cross-browser storage for all use cases, used across the web.
MIT License
14.02k stars 1.33k forks source link

Uncaught TypeError: t.charCodeAt is not a function #288

Open Gerst20051 opened 6 years ago

Gerst20051 commented 6 years ago

Error:

store.everything.min.js:2 Uncaught TypeError: t.charCodeAt is not a function
    at store.everything.min.js:2
    at Object._decompress (store.everything.min.js:2)
    at Object.decompress (store.everything.min.js:2)
    at Object.t (store.everything.min.js:2)
    at Object.(/games/word-racer/anonymous function) (https://cdn.rawgit.com/marcuswestin/store.js/master/dist/store.everything.min.js:2:14953)
    at e (store.everything.min.js:2)
    at Object.e (store.everything.min.js:2)
    at Object.(/games/word-racer/anonymous function) (https://cdn.rawgit.com/marcuswestin/store.js/master/dist/store.everything.min.js:2:14953)
    at e (store.everything.min.js:2)
    at Object.e (store.everything.min.js:2)
    at Object.(/games/word-racer/anonymous function) [as get] (https://cdn.rawgit.com/marcuswestin/store.js/master/dist/store.everything.min.js:2:14953)
    at Object.get (script.js:6)
    at getBaseApiParams (script.js:32)
    at loadGameRooms (script.js:322)
oytuntez commented 5 years ago

I observed that this occurs when migration from a previous major version to the latest version (I think from 1.x to 2.x).

The straightforward solution is to delete the application storage from your browser (which were stored unencrypted).

TrueCarry commented 4 years ago

Is there any option to fix it without clearing storage?