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

FormatException: Unexpected character (at character 1) #8

Closed
elianfish opened this issue Oct 21, 2020 · 1 comment
Closed

FormatException: Unexpected character (at character 1) #8

elianfish opened this issue Oct 21, 2020 · 1 comment

Comments

@elianfish
Copy link

use huiyiqun/pub_mirror:v1.0.7 -u https://pub.flutter-io.cn/packages

Unhandled exception:
FormatException: Unexpected character (at character 1)

^

#0 _ChunkedJsonParser.fail (dart:convert/runtime/libconvert_patch.dart:1357:5)
#1 _ChunkedJsonParser.parseNumber (dart:convert/runtime/libconvert_patch.dart:1253:9)
#2 _ChunkedJsonParser.parse (dart:convert/runtime/libconvert_patch.dart:921:22)
#3 _parseJson (dart:convert/runtime/libconvert_patch.dart:29:10)
#4 JsonDecoder.convert (dart:convert/json.dart:491:36)
#5 JsonCodec.decode (dart:convert/json.dart:149:41)
#6 PubClient.getPageOfPackages (package:pub_client/pub_client.dart:59:36)

#7 PubMirrorTool.listAllPackages (package:pub_mirror/pub_mirror.dart:69:45)

#8 PubMirrorTool.download (package:pub_mirror/pub_mirror.dart:158:31)
#9 _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart:49:6)
#10 PubMirrorTool.download (package:pub_mirror/pub_mirror.dart:150:18)
#11 main (file:///root/.pub-cache/hosted/pub.dartlang.org/pub_mirror-1.0.7/bin/pub_mirror.dart:46:8)
#12 _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart:49:6)
#13 main (file:///root/.pub-cache/hosted/pub.dartlang.org/pub_mirror-1.0.7/bin/pub_mirror.dart:39:5)
#14 _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:287:32)
#15 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

@elianfish
Copy link
Author

使用的源不对,忽略

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

1 participant