-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
Command
flutter --no-color run --machine --track-widget-creation --device-id=emulator-5554 --start-paused --dart-define=flutter.inspector.structuredErrors=true lib/main.dartSteps to Reproduce
- ...
- ...
- ...
Logs
StateError: Bad state: /Users/krohn/development/flutter/bin/cache/dart-sdk/bin/dart pub --suppress-analytics deps --json failed
Could not find a file named "pubspec.yaml" in "/Users/krohn/.pub-cache/hosted/pub.dev/_flutterfire_internals-1.3.53".
#0 _DefaultPub.deps.fail (package:flutter_tools/src/dart/pub.dart:379:7)
#1 _DefaultPub.deps (package:flutter_tools/src/dart/pub.dart:387:7)
<asynchronous suspension>
#2 computeExclusiveDevDependencies (package:flutter_tools/src/compute_dev_dependencies.dart:21:43)
<asynchronous suspension>
#3 findPlugins (package:flutter_tools/src/flutter_plugins.dart:110:23)
<asynchronous suspension>
#4 refreshPluginsList (package:flutter_tools/src/flutter_plugins.dart:1137:32)
<asynchronous suspension>
#5 FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:368:5)
<asynchronous suspension>
#6 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1910:7)
<asynchronous suspension>
#7 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1558:27)
<asynchronous suspension>
#8 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#9 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#10 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:496:9)
<asynchronous suspension>
#11 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#12 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:431:5)
<asynchronous suspension>[!] Flutter (Channel stable, 3.29.2, on macOS 13.7.4 22H420 darwin-x64, locale en-US) [15.9s]
• Flutter version 3.29.2 on channel stable at /Users/krohn/development/flutter
! The flutter binary is not on your path. Consider adding /Users/krohn/development/flutter/bin to your path.
! The dart binary is not on your path. Consider adding /Users/krohn/development/flutter/bin to your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision c236373904 (3 weeks ago), 2025-03-13 16:17:06 -0400
• Engine revision 18b71d647a
• Dart version 3.7.2
• DevTools version 2.42.3
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [27.5s]
• Android SDK at /Users/krohn/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: /Users/krohn/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 15.0.1) [26.4s]
• Xcode at /Users/krohn/Downloads/Xcode.app/Contents/Developer
• Build 15A507
✗ CocoaPods not installed.
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/to/platform-plugins
For installation instructions, see https://guides.cocoapods.org/using/getting-started.html#installation
[✓] Chrome - develop for the web [89ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.2) [87ms]
• Android Studio at /Users/krohn/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 21.0.5+-12932927-b750.29)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.2.5) [81ms]
• IntelliJ at /Users/krohn/Applications/IntelliJ IDEA Ultimate.app
• 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
[✓] VS Code (version 1.98.2) [16ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.108.0
[✓] Connected device (3 available) [16.5s]
• sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 14 (API 34) (emulator)
• macOS (desktop) • macos • darwin-x64 • macOS 13.7.4 22H420 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 135.0.7049.41
[✓] Network resources [1,432ms]
• All expected network resources are available.
! Doctor found issues in 2 categories.
Flutter Application Metadata
Type: app
Version: 2.0.0+6
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: c519ee9
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team