ebeaufay / ultraglobedemos

1 stars 0 forks source link

Could not resolve require("./locale/**/*"); No loader is configured for ".bin" files #1

Open brycedrennan opened 5 hours ago

brycedrennan commented 5 hours ago

really impressive work. I was trying to run the demos locally but when I npm run dev in ultraglobedemos/demos/ultraglobeGoogleTiles I get

> @jdultra/ultraglobe_getting_started@7.0.0 dev
> vite

  VITE v5.4.11  ready in 128 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
✘ [ERROR] Could not resolve require("./locale/**/*")

    node_modules/@jdultra/ultra-globe/dist/ultraglobe.es.js:3639:26:
      3639 │     t = ve._abbr, require("./locale/" + n), bt(t);
           ╵                           ~~~~~~~~~~~~~~~

✘ [ERROR] No loader is configured for ".bin" files: node_modules/@jdultra/ultra-globe/dist/assets/37b1084f269c4fdb.bin

    node_modules/@jdultra/ultra-globe/dist/ultraglobe.es.js:35:15:
      35 │ import _i from "./assets/37b1084f269c4fdb.bin";
         ╵                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
brycedrennan commented 3 hours ago

Seems possibly related to the moment library.

https://github.com/moment/moment/issues/5472

brycedrennan commented 3 hours ago

Downgrading to ultraglobe 6.1.10 resolved both of these issues.