Skip to content

box-ui-elements is expecting TreeQueryInput to be exported from @box/comboboxwithapi #4131

@hada79

Description

@hada79

Environment:
React 17.0.2
Node 22.14.0

  • Elements version:
    "box-ui-elements": "^23.2.0",
    "@box/combobox-with-api": "^0.43.8",

  • Windows 11

  • Edge

  • 137

After upgrading box-ui-elements from 21.0.0 to latest, I had to install a few devdependencies, namely @box/combo-with-api. THe error I receive is:
No matching export in "node_modules/@box/combobox-with-api/dist/esm/index.js" for import "TreeQueryInput"

node_modules/box-ui-elements/es/api/Metadata.js:15:9:
  15 │ import { TreeQueryInput } from '@box/combobox-with-api';

Looking at the metadata file in my node_modules folder, it does have a grayed out import on line 15:
import { TreeQueryInput } from '@box/combobox-with-api'; with no references

I've deleted the folder from node_modules and reinstalled. Looking in node_modues combobox-with-api folder, dist/esm/indext.js does not export treequeryinput.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions