TeselaGen / openVectorEditor

DEPRECATED - Teselagen's Open Source Vector/Plasmid Editor Component
https://teselagen.github.io/tg-oss/ove/#/Editor
MIT License
199 stars 71 forks source link

upgrade raised Uncaught TypeError: Cannot read properties of null #887

Open kelmazouari opened 1 year ago

kelmazouari commented 1 year ago

@tnrich

Hi Thomas, The upgrade raised the following error. Any idea how I can fix this issue? Thanks in advance,

toaster.js:64 Uncaught TypeError: Cannot read properties of null (reading 'appendChild') at t.create (toaster.js:64:19) at Module. (toastr.js:2:26) at n (bootstrap:19:22) at Object. (open-vector-editor.min.js:124:31608) at n (bootstrap:19:22) at bootstrap:83:10 at open-vector-editor.min.js:5:1168 at universalModuleDefinition:7:11 at universalModuleDefinition:1:1 abeditor.js:159 Uncaught TypeError: window.createVectorEditor is not a function

kelmazouari commented 1 year ago

adding defer in html: in jsf: fixed the issue https://stackoverflow.com/questions/30014090/uncaught-typeerror-cannot-read-property-appendchild-of-null/58824439#58824439

tnrich commented 1 year ago

Hi @kelmazouari glad you were able to solve this issue for yourself! Between which versions were you upgrading?

kelmazouari commented 1 year ago

Hi Thomas,

I upgraded from 16.1.27 -> 17.0.0

Best

On 30 Mar 2023, at 16:30, Thomas Rich @.***> wrote:

Hi @kelmazouari https://github.com/kelmazouari glad you were able to solve this issue for yourself! Between such versions were you upgrading?

— Reply to this email directly, view it on GitHub https://github.com/TeselaGen/openVectorEditor/issues/887#issuecomment-1490410411, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQYBHF4AG3Y7BZBRCAHDSDW6WKJDANCNFSM6AAAAAAWNAH7LI. You are receiving this because you were mentioned.