ericclemmons / ericclemmons/click-to-component
Package subpath './src/ClickToComponent.js' is not defined by "exports"
- Dominant language
- JavaScript
- Stars
- 2.4k
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
I am using the latest version 1.1.2, and encountered the following issues when running my Next.js project, please tell me how to solve it.
I have used the versions 1.1.0 and 1.0.8 mentioned in the issues, and both report the same error.😭
node: v16.20.2
i18next: ^19.6.3
react: ^16.8.0
But when I modify the 'exports' path in package.json to './src/ClickToComponent.js', it reports that './src/ContextMenu.js' is not defined.
However, when I change the import in exports to the path in types, it seems that the corresponding file can be found, but another error is reported.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.