championswimmer / vuex-persist

A Vuex plugin to persist the store. (Fully Typescript enabled)
http://championswimmer.in/vuex-persist
MIT License
1.67k stars 116 forks source link

supportCircular flag producing error #164

Open VictorOnwukwe opened 4 years ago

VictorOnwukwe commented 4 years ago

When I include the supportCircular flag, despite installing flatted, it produces this error:

JSON.parse(...).map is not a function at Module.parse (index.js?5bc5:24) at VuexPersistence.restoreState (index.ts?0e3e:202) at VuexPersistence.plugin (index.ts?0e3e:238) at eval (vuex.esm.js?2f62:352) at Array.forEach () at new Store (vuex.esm.js?2f62:352) at eval (store.js?c0d6:23) at Module../src/store.js (app.js:20774) at __webpack_require__ (app.js:724) at fn (app.js:101)

ajesses commented 4 years ago

hi, I have the same problem. Have you solved it?

VictorOnwukwe commented 4 years ago

hi, I have the same problem. Have you solved it?

Nah. I resorted to persisting the storage directly without the use of the plugin...

frederikheld commented 4 years ago

Same issue here. I don't really need the feature right now, I just came across the issue when I fiddled around with the different config options if vuex-persists while looking for a fix for a different problem...

rogerriche commented 1 year ago

hrrm, this still appears to be a problem. Has anyone solved this?