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

Fix lib not working on Windows platform #10

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

anatta-feng
Copy link

因为 art 路径下的文件名包含 ‘*' 不被 Windows 系统兼容,导致 lib 无法在 Windows 平台使用

@anatta-feng
Copy link
Author

错误日志:

Pub failed to delete entry because it was in use by another process.
This may be caused by a virus scanner or having a file
in the directory open in another application.
Running "flutter pub get" in timez...
❯❯ timez git:(main)  15:46 flutter pub get
Warning: You are using these overridden dependencies:
! flutter_autosize_screen 1.0.1 from git [email protected]:T-Oner/flutter_autosize_screen.git at 11d7d6
! matomo 1.1.0 from git [email protected]:T-Oner/dart-matomo.git at 6b7ec3
Git error. Command: `git clone C:\Users\toner\AppData\Local\Pub\Cache\git\cache\flutter_autosize_screen-e00b5b3c7e5f8a3acbb4417b7eb23a86297a7420 C:\Users\toner\AppData\Local\Pub\Cache\git\flutter_autosize_screen-11d7d68f2428ba3d89dd2dd8a0896751130c3d2f`
stdout:
stderr: Cloning into 'C:\Users\toner\AppData\Local\Pub\Cache\git\flutter_autosize_screen-11d7d68f2428ba3d89dd2dd8a0896751130c3d2f'...
done.
error: invalid path 'art/1080*1920-420dpi.png'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

exit code: 128
pub get failed (server unavailable) -- attempting retry 1 in 1 second...
Warning: You are using these overridden dependencies:
! flutter_autosize_screen 1.0.1 from git [email protected]:T-Oner/flutter_autosize_screen.git at 11d7d6
! matomo 1.1.0 from git [email protected]:T-Oner/dart-matomo.git at 6b7ec3
Could not find a file named "pubspec.yaml" in "C:\Users\toner\AppData\Local\Pub\Cache\git\flutter_autosize_screen-11d7d68f2428ba3d89dd2dd8a0896751130c3d2f".
Running "flutter pub get" in timez...
pub get failed (66; Could not find a file named "pubspec.yaml" in
"C:\Users\toner\AppData\Local\Pub\Cache\git\flutter_autosize_screen-11d7d68f2428ba3d89dd2dd8a0896751130c3d2f".)

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

Successfully merging this pull request may close these issues.

1 participant