box / box/box-ui-elements

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

Open
#4,131 8 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
551
Forks
351
Avg merge
5d 9h
Merged PRs (30d)
31

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.