-
Notifications
You must be signed in to change notification settings - Fork 75
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
Add require exports #93
Comments
exports.require need to be added in package.json |
i got the same issue |
i got the same issue when using ant-design-pro |
i got the same issue when using ant-design-pro |
same issue here |
I don't think this is an error:
|
i got the same issue, how to fix? |
add // package.json
"resolutions": {
"click-to-react-component":"1.1.0"
} |
same issue |
添加 "click-to-react-component":"1.0.8" 就可以解决了 |
fix with below code add in package.json "resolutions": {
"click-to-react-component": "1.0.8",
}, |
Same issue, any progress? |
Describe the bug
when
require.resolve('click-to-component')
, an error was thrown:Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in xxxxx//ode_modules/click-to-react-component/package.json
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: