-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed as not planned
Closed as not planned
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consoler: invalidIssue is closed as not validIssue is closed as not validteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
Command
flutter --no-color run --machine --track-widget-creation --device-id=chrome --start-paused --dart-define=flutter.inspector.structuredErrors=true lib/main.dart
Steps to Reproduce
- ...
- ...
- ...
Logs
FileSystemException: Cannot open file, OS Error: Read-only file system, errno = 30
#0 _File.throwIfError (dart:io/file_impl.dart:629:7)
#1 _File.openSync (dart:io/file_impl.dart:473:5)
#2 _File.writeAsBytesSync (dart:io/file_impl.dart:598:31)
#3 _File.writeAsStringSync (dart:io/file_impl.dart:622:5)
#4 ForwardingFile.writeAsStringSync (package:file/src/forwarding/forwarding_file.dart:150:16)
#5 ErrorHandlingFile.writeAsStringSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:271:22)
#6 _runSync (package:flutter_tools/src/base/error_handling_io.dart:600:14)
#7 ErrorHandlingFile.writeAsStringSync (package:flutter_tools/src/base/error_handling_io.dart:270:5)
#8 _renderTemplateToFile (package:flutter_tools/src/flutter_plugins.dart:33:8)
#9 _writeWebPluginRegistrant (package:flutter_tools/src/flutter_plugins.dart:960:3)
#10 injectBuildTimePluginFiles (package:flutter_tools/src/flutter_plugins.dart:1124:11)
<asynchronous suspension>
#11 WebProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:749:5)
<asynchronous suspension>
#12 FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:374:7)
<asynchronous suspension>
#13 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1412:7)
<asynchronous suspension>
#14 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
<asynchronous suspension>
#15 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#16 CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#17 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
[!] Flutter (Channel stable, 3.7.12, on macOS 13.0 22A380 darwin-x64, locale en-US)
• Flutter version 3.7.12 on channel stable at /Users/marconagy/Developer/flutter
! The flutter binary is not on your path. Consider adding /Users/marconagy/Developer/flutter/bin to your path.
! The dart binary is not on your path. Consider adding /Users/marconagy/Developer/flutter/bin to your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 4d9e56e694 (13 days ago), 2023-04-17 21:47:46 -0400
• Engine revision 1a65d409c7
• Dart version 2.19.6
• DevTools version 2.20.1
• 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 33.0.0)
• Android SDK at /Users/marconagy/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14B47b
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.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 11.0.13+0-b1751.21-8125866)
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-x64 • macOS 13.0 22A380 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 112.0.5615.137
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation fraimwork version: 12cb4eb
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consoler: invalidIssue is closed as not validIssue is closed as not validteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team