Closed DougBurke closed 2 years ago
Hey Doug — these messages shouldn't affect your application, but you should also be able to make them go away.
For a long time, the WebGL engine has had a hackily shimmed-in dependency on the "pako" library to do (de)compression of WWT CSV data payloads. We recently figure out a way to make it a bit more formalized (WorldWideTelescope/wwt-webgl-engine#170) and I think that's causing the new messages. More recently we used the same scheme to add a dep on the "uuid" library to fix up some issues relating to HiPS progressive catalog data.
If you're not using npm
package management, you should be able to make things happy by adding a couple of manual script imports before the wwtsdk
import — see the code changes in #349 in this repo for an example.
As it stands, your app would fail if it hit the codepaths that involved those dependencies, but they both apply to pieces of the engine that I don't think can even be accessed from your app.
This application is definitely not doing anything remotely fancy, like using npm ! I'll add the script imports to make things clean and then report back (depending on my about-to-start-meeting this may be today or may be in n days).
I'm not sure if we can still call npm
"fancy" in 2022 ... but anyway I'm pretty sure it should be a two-line change to make the warnings go away.
Looks like my issues have gone away with the imports.
My console log - from https://cxc.harvard.edu/csc2/wwt.html - starts with the following. I am ignoring this, but thought I'd mention it