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

Package subpath './src/ClickToComponent.js' is not defined by "exports" #96

Open
hsyfee opened this issue Dec 16, 2024 · 0 comments
Open

Comments

@hsyfee
Copy link

hsyfee commented Dec 16, 2024

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

image

But when I modify the 'exports' path in package.json to './src/ClickToComponent.js', it reports that './src/ContextMenu.js' is not defined.
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant