-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Bug] install click-to-component error #12763
Comments
config.ts注释掉clickComponent,删除.umi,重新install,也不行。。。 |
可以先在 click-to-components 的 pkg 里手动自己添加下 |
除了自己修改版本号,没有其他的解决办法吗? |
patch-package 这包也可临时顶下 |
|
感谢🙏 |
How can I solve this proble? |
update umi version |
非常感谢,我把umi升级到4.4.4,已经正常打包了。然后我翻了umi发布日志,发现在4.3.29解决的这个问题,umi日志是:https://github.com/umijs/umi/releases |
What happens?
click-to-component 刚发布了 1.1.2 版本,umi 内置插件依赖该包实现 clickToComponent 功能,安装依赖报错
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in xxxxx//ode_modules/click-to-react-component/package.json
Mini Showcase Repository(REQUIRED)
已提 issue,遇到同样问题请跟踪 ericclemmons/click-to-component#93
How To Reproduce
Steps to reproduce the behavior: 1. 2.
Expected behavior 1. 2.
Context
The text was updated successfully, but these errors were encountered: