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

setting flutter_sdk path to local fvm flutter_sdk results in exception #101

Open
knyghtryda opened this issue Oct 18, 2022 · 0 comments
Open

Comments

@knyghtryda
Copy link

I have set the flutter_sdk to this:

include: # list of locations processed by Borg, glob specifications are allowed
  - .
exclude: # specify here a list of locations to be ignored by Borg
  - .fvm/
dart_sdk:  # path to Dart SDK
flutter_sdk: # path to the root of Flutter SDK
  - .fvm/flutter_sdk/

However I'm getting this exception when running borg boot:

❯ borg boot
Unhandled exception:
type 'List<dynamic>' is not a subtype of type 'String' in type cast
#0      _getString (package:borg/src/configuration/configuration.dart:65:29)
#1      new BorgConfiguration.fromJson (package:borg/src/configuration/configuration.dart:55:25)
#2      _constructConfigFromFile.<anonymous closure> (package:borg/src/configuration/factory.dart:121:36)
#3      Optional.iif (package:plain_optional/src/optional.dart:13:95)
#4      _constructConfigFromFile (package:borg/src/configuration/factory.dart:120:68)
#5      new BorgConfigurationFactory (package:borg/src/configuration/factory.dart:49:26)
#6      new ProbeCommand (file:///Users/yanminhong/.pub-cache/hosted/pub.dartlang.org/borg-2.0.0/bin/src/commands/probe_command.dart:64:7)
#7      main (file:///Users/yanminhong/.pub-cache/hosted/pub.dartlang.org/borg-2.0.0/bin/main.dart:39:20)
#8      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:295:32)
#9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)

removing the flutter_sdk allows for probe, init, etc, but boot fails.

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