fastboard icon indicating copy to clipboard operation
fastboard copied to clipboard

when we are using fastboard and installing it in repo then this new error is coming

Open kush4545 opened this issue 1 year ago • 1 comments

Uncaught TypeError: Cannot set properties of undefined (setting 'type') at push../node_modules/mathjs/lib/esm/type/fraction/Fraction.js.Object.isClass

kush4545 avatar Jan 10 '24 07:01 kush4545

This is probably a bundler's config issue. More details see: https://github.com/josdejong/mathjs/issues/3022

I can't help much in these kinds of issues as I don't know webpack very much too.

hyrious avatar Jan 10 '24 07:01 hyrious

In case you do not use the legacy PPT function in white-web-sdk (new customers should prefer using the "projector" conversion service), you can invalidate the mathjs package in your dependencies tree to avoid this issue. I have published a new package to help doing this:

https://github.com/netless-io/nolyfill-mathjs

Please refer to its README to solve the issue.

hyrious avatar May 10 '24 08:05 hyrious