-
-
Notifications
You must be signed in to change notification settings - Fork 329
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
Error while installing with yarn #521
Comments
安装3.3.1版本, 如果来自 antd, 删除node_modules和lock文件重新安装即可. |
删除后还是,提问之前已经删掉重新安装了一次了.问题依旧 |
yarn why rc-pagination 看看 |
➤ YN0001: │ Error: While persisting /G:/antdpro6-template/.yarn/cache/rc-pagination-npm-3.3.0-1838abafd7-6b40cb2ab6.zip/node_modules/rc-pagination/ -> /G:/antdpro6-template/node_modules/antd/node_modules/rc-pagination ENOENT: no such file or directory, mkdir 'G:\antdpro6-template\node_modules\antd\node_modules\rc-pagination\dist~demos:id' |
是不是有用私有npm镜像? 镜像里没同步到3.3.1? |
没有设置私有镜像,我试试强制安装3.3.1试试. |
antd 使用的 |
lock文件删了没 |
刚没看到yarn.lock文件,我再试试. |
搞定了,感谢大佬😘 |
[#516 ]
Error: While persisting /G:/antdpro6-template/.yarn/cache/rc-pagination-npm-3.3.0-1838abafd7-6b40cb2ab6.zip/node_modules/rc-pagination/ -> /G:/antdpro6-template/node_modules/antd/node_modules/rc-pagination ENOENT: no such file or directory, mkdir 'G:\antdpro6-template\node_modules\antd\node_modules\rc-pagination\dist~demos:id'
The text was updated successfully, but these errors were encountered: