gilbarbara / tree-changes

Compare changes between two datasets
22 stars 6 forks source link

Cannot set DeepDiff of undefined #2

Closed ellej16 closed 5 years ago

ellej16 commented 6 years ago

Hi!

installed the tours library you made react-joyride, and it's pointing at tree-changes/deep-diff error.

screen shot 2018-08-09 at 12 13 47 pm

Any idea what the solution is for this one?

Similar issues arises on deep-diff's v1.0.1: https://github.com/flitbit/diff/issues/131 , https://github.com/flitbit/diff/pull/129 among others

Thanks for react-joyride, btw!

gilbarbara commented 6 years ago

Hello, Not really... Maybe a webpack configuration? Does this error happen on development, production or both?

Take a look at this option: https://webpack.js.org/configuration/resolve/#resolve-mainfields

ellej16 commented 6 years ago

Hi! This is encountered on development (as it's only on a feature branch currently). Will check that option out then, though coming from the issues i posted above it might be coming directly from deep-diff itself. Will confirm later if the option works.

Thanks a lot!

gilbarbara commented 5 years ago

Please try 0.3.3 which has an upgrade deep-diff