This message was deleted.
# help
s
This message was deleted.
👀 1
a
the issue is likely because VizabiSharedComponents does
require("mobx")
which ends up 1) importing another version, hence the multiple versions error, 2) the wrong version, since i need v5 and the latest is v6, where mobx.decorate was renamed. replacing
require('mobx')
in UMD header with
mobx || require('mobx')
or just
mobx
didn't do anything
v
I'm still trying to piece together exactly what's happening
were you able to figure out a workaround with your latest version? I see around v209 is where you were getting the mobx.decorate error.
a
@Visnu P thanks for looking at it! we have succeeded in the end by replacing file imports with npm imports, looks like npm imports add peer dependencies as needed in the correct versions
👍 1