Error with using jsroot

ROOT Version: JSROOT dev

I want to use ROOTJS version dev with but recently it cannot work.

I used like:

And the browser is Microsoft Edge version 99.0.1150.55 (64 bit)
It turns waring like:
Uncaught (in promise) TypeError: Failed to resolve module specifier ‘…/modules/core.mjs’. The base URL is about:blank because import() is called from a CORS-cross-origin script.
at JSRoot.core.js:300:21
at JSRoot.core.js:3:77
at JSRoot.core.js:5:3
I can use JSROOT version 6.3.4 with successfully. But TMultrGraph_3d seems not supported in this version(6.3.4)?

I think @linev can help you.


In current dev version many changes were done, therefore some application may not yet work.
Are you using Please try
And we will try to solve problem with website.


We also update website. Can you check it as well?

If none is working, try:

<script src="" type="text/javascript" crossorigin="anonymous"></script>

Here new is crossorigin="anonymous", for some reason it is important now.

Also - for dev version one can directly use modules.
See how it can be used now here:

And updated docu:

1 Like

This “crossorigin=“anonymous”” works well!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.