Closed matthewelmer closed 1 year ago
Thanks for the report @matthewelmer.
To narrow down the cause of the error, I would suggest using the unminified version of CesiumJS Build/CesiumUnminified/Cesium.js
and the source map Build/CesiumUnminified/Cesium.js.map
for a more helpful stack trace.
I'll get on that ASAP (might be some weeks).
I instead hosted a local https server, and now I don't get that error (this also allows me to access local files by facilitating CORS!)
Here are the two easiest ways for those interested:
Sandcastle example: https://sandcastle.cesium.com/index.html#c=bYzLCsIwFER/5ZKVgiS4Ni1Ct4ILwVU2aXrV4G1S8mipX29bERRdzsw5Y7yLCXqLAwYowOEAFUabW35eupViZsmVd0lbh0Gx9U45tmEyppGwVA5gb9vOhwQ50IpzkbDtSCeMos7mjombGGdJirciG9uDbYo/72BIxzgtl0x0sg9UrJRi4r808rqx7nrsMZAeZ+S2LQ+vknMuxRR/reQ91Tp8PD4B
Browser: Brave Version 1.50.125 Chromium: 112.0.5615.165 (Official Build) (64-bit)](https://brave.com/latest/)
Operating System: Linux Mint 21.1 Cinnamon
If I create
index.html
with the following contents:And
main.js
with the following contents:And try to open
index.html
in Brave, I get the following error in my console:Although seemingly benign, it's an error and not a warning, so it absolutely shouldn't happen.
I even tried the following in
main.js
to no avail: