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

[BUG] No matching exports in dependencies for meta and PickInfo #1472

Open
rubenthoms opened this issue Apr 18, 2023 · 1 comment
Open

[BUG] No matching exports in dependencies for meta and PickInfo #1472

rubenthoms opened this issue Apr 18, 2023 · 1 comment
Labels
AspenTech Task owned by AspenTech bug Something isn't working

Comments

@rubenthoms
Copy link
Collaborator

rubenthoms commented Apr 18, 2023

✘ [ERROR] No matching export in "node_modules/@turf/meta/dist/es/index.js" for import "default"

    node_modules/@webviz/subsurface-components/dist/components/SubsurfaceViewer/utils/measurement.js:2:7:
      2 │ import meta from "@turf/meta";
        ╵        ~~~~

✘ [ERROR] No matching export in "node_modules/deck.gl/dist/esm/index.js" for import "PickInfo"

    node_modules/@webviz/subsurface-components/dist/index.js:22:9:
      22 │ import { PickInfo, View } from "deck.gl";

This is a bug that I already faced when trying to consume the package in a Webpack project. It seems the dependencies (deck.gl and @ turf) have changed such that the reexports are no longer valid. This is a hidden bug since the files the reexports happen in are pure JS.

@rubenthoms rubenthoms added bug Something isn't working AspenTech Task owned by AspenTech labels Apr 18, 2023
@rubenthoms
Copy link
Collaborator Author

@hkfb @nilscb I would appreciate if one of you could take a look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AspenTech Task owned by AspenTech bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant