rhino3dm icon indicating copy to clipboard operation
rhino3dm copied to clipboard

rhino3dm.js 8.6.0 can't be initialized

Open kovacsv opened this issue 9 months ago • 1 comments

Initialization of version 8.6.0 fails with the following message. Version 8.4.0 works fine. See this fiddle for an example.

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'value')
    at Object.toValue (rhino3dm.min.js:1:59353)
    at s (rhino3dm.min.js:1:79709)
    at rhino3dm.wasm:0x117e94
    at rhino3dm.wasm:0xafbeb
    at ie (rhino3dm.min.js:1:4539)
    at r (rhino3dm.min.js:1:85790)
    at vt (rhino3dm.min.js:1:86274)
    at e (rhino3dm.min.js:1:86302)
    at Y (rhino3dm.min.js:1:3943)
    at r (rhino3dm.min.js:1:83528)

kovacsv avatar Apr 27 '24 11:04 kovacsv

thanks, checking it out

fraguada avatar Apr 27 '24 19:04 fraguada

Had the same issue when upgrading to 8.6.0

xRadne avatar Apr 29 '24 16:04 xRadne

@kovacsv @xRadne I am preparing an 8.6.1 release for js that should fix this issue. If you can test this package, I would really appreciate it: https://github.com/mcneel/rhino3dm/actions/runs/9017758138/artifacts/1487757185

fraguada avatar May 09 '24 13:05 fraguada

Thank you! I will test it first thing tomorrow morning

xRadne avatar May 09 '24 13:05 xRadne

@fraguada I have now tested 8.6.1 and can confirm that this have solved the initialization error!

Thank you for fixing this :)

xRadne avatar May 10 '24 07:05 xRadne

Thank you for testing! I will prepare a release on npm.

fraguada avatar May 10 '24 08:05 fraguada

https://www.npmjs.com/package/rhino3dm/v/8.6.1 has been published which should resolve this issue. Please let me know if that is not the case.

fraguada avatar May 10 '24 09:05 fraguada