-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
Milestone
Description
I couldn't capture the full output here, but possible it was an analytics consent or first-run banner or something in the output of flutter config --machine (related: flutter/flutter#94406).
[12:15:45 PM] [FlutterDaemon] [Info] ==> [{"id":"4","method":"daemon.getSupportedPlatforms","params":{"projectRoot":"C:\\Dev\\Test Projects\\flutter_counter"}}]
[12:15:45 PM] [FlutterDaemon] [Info] <== [{"id":"4","result":{"platforms":["web"],"platformTypes":{"web":{"isSupported":true},"android":{"isSupported":false,"reasons":[{"reasonText":"the Android platform is not enabled for this project","fixText":"Run \"flutter create --platforms=android .\" in your application directory","fixCode":"create"}]},"ios":{"isSupported":false,"reasons":[{"reasonText":"the iOS platform is not enabled for this project","fixText":"Run \"flutter create --platforms=ios .\" in your application directory","fixCode":"create"}]},"linux":{"isSupported":false,"reasons":[{"reasonText":"the Linux platform is not enabled for this project","fixText":"Run \"flutter create --platforms=linux .\" in your application directory","fixCode":"create"}]},"macos":{"isSupported":false,"reasons":[{"reasonText":"the macOS platform is not enabled for this project","fixText":"Run \"flutter create --platforms=macos .\" in your application directory","fixCode":"create"}]},"windows":{"isSupported":false,"reasons":[{"reasonText":"the Windows platform is not enabled for this project","fixText":"Run \"flutter create --platforms=windows .\" in your application directory","fixCode":"create"}]},"fuchsia":{"isSupported":false,"reasons":[{"reasonText":"the Fuchsia feature is not enabled","fixText":"Run \"flutter config --enable-fuchsia\"","fixCode":"config"},{"reasonText":"the Fuchsia platform is not enabled for this project","fixText":"Run \"flutter create --platforms=fuchsia .\" in your application directory","fixCode":"create"}]},"custom":{"isSupported":false,"reasons":[{"reasonText":"the custom devices feature is not enabled","fixText":"Run \"flutter config --enable-custom-devices\"","fixCode":"config"}]},"windowsPreview":{"isSupported":false,"reasons":[{"reasonText":"the Preview Device feature is not enabled","fixText":"Run \"flutter config --enable-flutter-preview","fixCode":"config"},{"reasonText":"the Windows platform is not enabled for this project","fixText":"Run \"flutter create --platforms=windows .\" in your application directory","fixCode":"create"}]}}}}]
[12:16:00 PM] [FlutterDaemon] [Info] Spawning C:\Dev\Google\Flutter\Flutter main\bin\flutter.bat with args ["config","--machine"] in C:\Dev\Google\Flutter\Flutter main with env undefined
[12:16:00 PM] [FlutterDaemon] [Error] Unexpected token '╔', "
╔═════════"... is not valid JSON
SyntaxError: Unexpected token '╔', "
╔═════════"... is not valid JSON
at JSON.parse (<anonymous>)
at getFlutterConfigValue (c:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:24242:31)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async FlutterDaemon.checkIfPlatformGloballyDisabled (c:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:14638:23)
at async FlutterDeviceManager.enablePlatformType (c:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:30649:47)
at async c:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:12322:21
at async VsCodeDartToolingDaemon.handleData (c:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:27116:32)
