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 get报错 #419

Closed
RABBITGUO opened this issue May 29, 2019 · 3 comments
Closed

package get报错 #419

RABBITGUO opened this issue May 29, 2019 · 3 comments

Comments

@RABBITGUO
Copy link

Could not find a file named "pubspec.yaml" in https://github.com/CarSmallGuo/photo_view.git 6be6a50adfcead0e727a982d32090b9efec9e896.
pub get failed (1)

@CarGuo
Copy link
Owner

CarGuo commented May 29, 2019

你试试本地git clone能不能clone下来

@CarGuo
Copy link
Owner

CarGuo commented May 29, 2019

找到问题了,比如

win 是在 C:\Users\xxxxx\AppData\Roaming\Pub\Cache 路径下有 git 目录,如果存在某次 package get 失败之后,git 下目录会存在,然后出现这个异常。 可以删除 git 目录有重新packages get

mac 目录在 ~/.pub-cache

@CarGuo
Copy link
Owner

CarGuo commented May 29, 2019

#415 请重新拉取代码后更新

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

2 participants