ampersand-state
ampersand-state copied to clipboard
def.values.join is not a function
In AmpersanJS app when trying to save a model, follwoing error is thrown.
Uncaught TypeError: def.values.join is not a function
at child.set (ampersand-state.js:210)
at child.save (ampersand-model.js:41)
at import-nav.js:80
at arrayEach (index.js:1289)
at Function.<anonymous> (index.js:3345)
at Constructor.confirmImport (import-nav.js:71)
at Object.executeDispatch (EventPluginUtils.js:110)
at executeDispatch (SimpleEventPlugin.js:305)
at forEachEventDispatch (EventPluginUtils.js:98)
at Object.executeDispatchesInOrder (EventPluginUtils.js:119)
Hi @chamathabeysinghe
Have you inspected what def
and def.values
resolve to?