LaoMengFlutter / flutter-do

包含350多个组件用法、组件继承关系图、40多个 loading 组件,App升级、验证码、弹幕、音乐字幕 4个插件,一个小而全完整的App项目。
http://laomengit.com/
Apache License 2.0
2.64k stars 542 forks source link

导入flutter_verification_box报错 #22

Open xudaye2001 opened 4 years ago

xudaye2001 commented 4 years ago

__MACOSX/flutter_verification_box/._README.md: Truncated tar archive tar: Error exit delayed from previous errors. Failed to extract .tar.gz stream to /Users/xxf/Documents/Flutter/flutter/.pub-cache/_temp/dirU4jaBw (exit code 1).

package:pub/src/io.dart 898:5 extractTarGz ===== asynchronous gap =========================== package:pub/src/source/hosted.dart 398:11 BoundHostedSource._download ===== asynchronous gap =========================== package:pub/src/source/hosted.dart 264:13 BoundHostedSource.downloadToSystemCache package:pub/src/entrypoint.dart 407:48 Entrypoint._get. dart:async runZoned package:pub/src/http.dart 279:10 withDependencyType package:pub/src/entrypoint.dart 403:12 Entrypoint._get dart:async Future.wait package:pub/src/entrypoint.dart 252:18 Entrypoint.acquireDependencies dart:async _completeOnAsyncReturn package:pub/src/solver/version_solver.dart VersionSolver.solve dart:async _completeOnAsyncReturn package:pub/src/source/hosted.dart BoundHostedSource.withPrefetching dart:async _completeOnAsyncReturn package:pub/src/rate_limited_scheduler.dart RateLimitedScheduler.withPrescheduling dart:async _completeOnAsyncReturn package:pub/src/source/hosted.dart BoundHostedSource.withPrefetching. dart:async _completeOnAsyncReturn package:pub/src/solver/version_solver.dart VersionSolver.solve. dart:async _completeOnAsyncReturn package:pub/src/solver/version_solver.dart VersionSolver._result This is an unexpected error. Please run

pub --trace '--verbosity=warning' get --no-precompile

and include the logs in an issue on https://github.com/dart-lang/pub/issues/new pub get failed (1; and include the logs in an issue on https://github.com/dart-lang/pub/issues/new)

取消引入该包后pub get一切正常.

guotong314 commented 4 years ago

同样错误,无法导入

zhengsam commented 4 years ago

同样错误 求解决方案

lxl518000 commented 4 years ago

同问 求解决?

mingV2019 commented 4 years ago

+1

mingV2019 commented 4 years ago

android没错。ios有错

Zipper-Code commented 4 years ago

这个问题我也遇到了,大家可以去看看这个,也是老孟的插件,只是我把它单独提出来了,可以正常使用https://github.com/2673542667/flutter_verification_box

LaoMengFlutter commented 4 years ago

pub --trace '--verbosity=warning' get --no-precompile 运行一下这个,然后在 get,看是否可以正常引用。

LaoMengFlutter commented 4 years ago

试下 1.0.4 版本