Closed wbugenis closed 4 months ago
I think this is a library error in the Zoom SDK - it is expecting _
to be defined as a global, when modular applications shouldn't rely on globals. We try to convert CJS and global scripts into modules in JSPM, but that conversion won't do global redefinitions and can't trace globals it doesn't know about.
You can patch it manually with:
import lodash from 'lodash';
window._ = lodash;
I would recommend encouraging the SDK developers not to rely on the lodash global and to move to modules!
Sorry this one ended up being a bit outside of your purview... I really appreciate you still taking the time to find a solution anyway. Thank you!
Sure, and feel free to share any further issues you find, I may not respond immediately but I'll get to them when I can.
Hello again! When trying to use the @zoom/meetingsdk package in my project with importmap-rails, I get the following error (happens on 3.1.6, 3.1.4, and 3.1.2, I didn't try any others yet) -
Thanks for your help, as always!