Skip to content

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

Open
@rubenthoms

Description

@rubenthoms
✘ [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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AspenTechTask owned by AspenTechbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions