Baseflow / flutter_cache_manager

Generic cache manager for flutter
https://baseflow.com
MIT License
739 stars 427 forks source link

exception for command run flutter pub get in example app #367

Open Ritsz123 opened 2 years ago

Ritsz123 commented 2 years ago

🐛 Bug Report

Unable to retrieve git packages because of using git://github.com/ instead of https://github.com/

Git error. Command: git clone --mirror git://github.com/Baseflow/baseflow_plugin_template.git C:\src\flutter\.pub-cache\git\cache \baseflow_plugin_template-4fbabee1114b5508a9ffc49dfff58dc6ce1c5577 stdout: stderr: Cloning into bare repository 'C:\src\flutter.pub-cache\git\cache\baseflow_plugin_template-4fbabee1114b5508a9ffc49dfff58dc 6ce1c5577'... fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. exit code: 128 pub get failed (server unavailable) -- attempting retry 1 in 1 second...

for reference https://stackoverflow.com/questions/70663523/the-unauthenticated-git-protocol-on-port-9418-is-no-longer-supported

Expected behavior

Reproduction steps

flutter pub run in flutter_cache_manager/example/

Configuration

Version: 1.x

Platform: