Installer Donwloading Broken Config File

Hello!

Been using the installer today and already used it once successfully. However I now have the issue where the installer is hanging after downloading the config file.

Checking the logs I get:

\[ERROR:flutter/runtime/dart_vm_initializer.cc(40)\] Unhandled Exception: FormatException: Unexpected character (at line 180, character 7)
{
^

#0      \_ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1463)
#1      \_ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:864)
#2      \_parseJson (dart:convert-patch/convert_patch.dart:35)
#3      JsonDecoder.convert (dart:convert/json.dart:641)
#4      JsonCodec.decode (dart:convert/json.dart:223)
#5      jsonDecode (dart:convert/json.dart:160)
#6      new Configuration.fromJson (package:installer/config_provider.dart:43)
#7      Config.fetch (package:installer/config_provider.dart:179)

On closer inspection of the JSON file it downloads into the cache it does actually seem broken, I’ve purged the cache file and tried a few times but the file it downloads has the JSON error: SyntaxError: JSON.parse: expected property name or '}' at line 180 column 7 of the JSON data

Is there something I’ve done my end, where is the config file downloaded from? I’ve tried fixing the JSON error but the config just gets overwritten again.

Would appreciate if anyone else is able to replicate this or if anyone has any insight.

That should be fixed, thanks for reporting the issue.

2 Likes