Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brycedrennan opened this issue Nov 17, 2024 · 3 comments

Comments

@brycedrennan
Copy link

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

> @jdultra/[email protected] 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
Copy link
Author

Seems possibly related to the moment library.

moment/moment#5472

@brycedrennan
Copy link
Author

Downgrading to ultraglobe 6.1.10 resolved both of these issues.

@ebeaufay
Copy link
Owner

Downgrading to ultraglobe 6.1.10 resolved both of these issues.

Ah but then some demos won't work I guess. Thanks for feedback I might have missing lib installed globally.

I'll rework it a bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants