[✓] VS Code (version 1.82.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.72.0
[✓] Connected device (4 available)
• iPhone 15 Pro Max (mobile) • 6232A217-9CFD-40E3-AF93-7CF28A94F5DA • ios •
com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.5.1 22G90 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.96
! Error: Jack Apple Watch needs to connect to determine its availability. Check the connection between the device and its
companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked.
(code 1)
[✓] Network resources
• All expected network resources are available.
Description
Unhandled exception:
type 'int' is not a subtype of type 'String' in type cast
#4 Package.load (package:flutterfire_cli/src/common/package.dart:54:21)
#5 FlutterApp.load (package:flutterfire_cli/src/flutter_app.dart:39:21)
#6 main (file:///Users/admin/.pub-cache/hosted/pub.dev/flutterfire_cli-0.2.7/bin/flutterfire.dart:56:24)
### Steps to reproduce
1. run firebase login
2. run dart pub global activate flutterfire_cli
3. run flutterfire configure
### Expected behavior
expect to be success because my others project all working fine
### Screenshots
### Additional context and comments
I'm not sure it is my project issue or plugin issue
Is there an existing issue for this?
CLI Version
0.2.7
Firebase Tools version
12.6.1
Flutter Doctor Output
[✓] Flutter (Channel stable, 3.13.6, on macOS 13.5.1 22G90 darwin-arm64, locale en-MY) • Flutter version 3.13.6 on channel stable at /Users/admin/Documents/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision ead455963c (5 days ago), 2023-09-26 18:28:17 -0700 • Engine revision a794cf2681 • Dart version 3.1.3 • DevTools version 2.25.0
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/admin/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15A240d • CocoaPods version 1.13.0
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.82.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.72.0
[✓] Connected device (4 available) • iPhone 15 Pro Max (mobile) • 6232A217-9CFD-40E3-AF93-7CF28A94F5DA • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 13.5.1 22G90 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.96 ! Error: Jack Apple Watch needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked. (code 1)
[✓] Network resources • All expected network resources are available.
Description
Unhandled exception: type 'int' is not a subtype of type 'String' in type cast
0 _converter. (package:pubspec/src/json_utils.dart:80:75)
1 JsonParser.single (package:pubspec/src/json_utils.dart:97:42)
2 new PubSpec.fromJson (package:pubspec/src/pubspec.dart:103:24)
3 PubSpec.loadFile (package:pubspec/src/pubspec.dart:128:15)