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

Broken npmjs itowns package 2.45.0 #2507

Open
EvannJallet opened this issue Mar 5, 2025 · 1 comment
Open

Broken npmjs itowns package 2.45.0 #2507

EvannJallet opened this issue Mar 5, 2025 · 1 comment
Labels

Comments

@EvannJallet
Copy link

Hello,
I recently updated itowns in our custom 3D viewer, but it complained about missing files inside the lib folder specifically.
After checking on npmjs, I saw that the last packages since the 2.45.0 version are missing every file except for examples. (https://registry.npmjs.com/itowns/-/itowns-2.45.0.tgz)

Did something change in the way we need to import the new packages ?

Your Environment

  • Version used: 2.45.0
  • Browser Name and version: Not relevant
  • Operating System and version (desktop or mobile): Fedora 41
  • Link to your project: Not publicly accessible

Context

Simply updating the package prevents us from using it.

I couldn't use the last itowns version.

[ERROR] Failed to resolve entry for package "itowns". The package may have incorrect main/module/exports specified in its package.json.

Steps to Reproduce

  1. Download the 2.45.0 npmjs package (https://registry.npmjs.com/itowns/-/itowns-2.45.0.tgz)

Expected Behavior

Have a package ready to use with every file it needs.

Actual Behavior

Nothing.

Possible Cause/Fix/Solution

@Desplandis
Copy link
Contributor

Desplandis commented Mar 7, 2025

Managed to reproduce the issue with both @itowns/geographic and itowns packages. Seems to be a regression from #2300.

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

No branches or pull requests

2 participants