Skip to content

Local Run fails with "Failed to export code. SocketException: Broken pipe" on one project only (Desktop 7.2.12, macOS) #7635

Open

Description

@mmaddict85

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Project ID: allonsy-gu63qq
Pressing Test (Local Run) on this project immediately fails with:

Failed to export code.
SocketException: Write failed (OS Error: Broken pipe, errno = 32), port = 0

  • It fails on every target I've tried: iOS Simulator (iPhone 17 Pro Max, iOS 26.5) and Chrome.
  • No build starts and no build log is produced. Desktop doesn't write anything to its local project folder.
  • Starting Local Run through the FlutterFlow agent tools (local_run.start) fails with: Runner failed: Null check operator used on a null value
  • All my other projects run fine in Local Run on the same machine.

Expected Behavior

Local Run exports the code and launches the app on the selected device, as it does for my other projects.

Steps to Reproduce

  1. Open project allonsy-gu63qq in FlutterFlow Desktop 7.2.12 (macOS).
  2. Select any device (iOS Simulator or Chrome).
  3. Press Test. The "Failed to export code … Broken pipe" error appears right away.

It only happens on this project, and I haven't been able to make a minimal reproduction because the cause appears to be in this project's data.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITFTl8n18YlOmMMF+KrcKO1ogigWI0MAXOYvitYbVR42C4CtP7N/Os/BMkNKT/2ieX9cfVKiuE0zpdrIuIbpMfQoG0mYRbpJ0JVAaAyVWlG5R8zWCJCSfnN6M/5jGX6G5LaFsRB4NfVtdU4e2WWPN63qNleeY8aSfxBlZ7vfcPo=

Visual documentation

ff_desktop.log

Image

Environment

- FlutterFlow Desktop: 7.2.12 (also failed on 7.2.11)
- OS: macOS 26.6.2 (25G83), Apple Silicon
- Flutter (bundled): 3.47.6 stable, Dart 3.13.5
- Xcode 27.1, CocoaPods 1.17.0
- Targets tried: iOS Simulator (iPhone 17 Pro Max, iOS 26.5), Chrome

Additional Information

flutter: An exception was throw by CombineLatestStream<List, List> listened by
flutter: #0 debugPrintStack (package:flutter/src/foundation/assertions.dart:1213)
flutter: #1 FlutterError.dumpErrorToConsole (package:flutter/src/foundation/assertions.dart:1033)
flutter: #2 FirebaseCrashlytics.recordFlutterError (package:firebase_crashlytics/src/firebase_crashlytics.dart:143)
flutter: #3 FirebaseCrashlytics.recordFlutterFatalError (package:firebase_crashlytics/src/firebase_crashlytics.dart:162)
flutter: #4 recordFlutterFatalError (package:flutter_webapp/src/utils/crashlytics_util.dart:31)
flutter: #5 _ProjectCallbackWrapperState.build. (package:flutter_webapp/src/project/project.dart:10424)
flutter: #6 FlutterError.reportError (package:flutter/src/foundation/assertions.dart:1193)
flutter: #7 _streamStartListening.. (package:provider/src/async_provider.dart:32)
flutter: (elided 29 frames from dart:async)
flutter: Another exception was thrown: Instance of 'DiagnosticsProperty' (repeated 8x)

This exception was logged around the time I pressed Test. Since it happens only on this project, I suspect a malformed build-request record on it, which would also fit the "Null check operator" error. Crashlytics should have a matching fatal error report from my machine.

What I've ruled out
• Dependencies and Flutter version: code exported for this project through the FlutterFlow API runs pub get cleanly, then builds and launches on the iOS Simulator using FlutterFlow's bundled Flutter 3.47.6.
• Local environment: flutter doctor passes fully, including the Android toolchain after installing cmdline-tools and accepting the licenses. The error didn't change.
• Cache and restart: I restarted Desktop, deleted the local build/ folder, and renamed Desktop's local project folder (io.flutterflow.prod.mac/allonsy) so it would rebuild from scratch. The error didn't change.
• Agent session: closing the Claude agent panel didn't change it, and no helper process crashed during a recorded failure.

Timeline
• Oct 21, ~5:09 PM EDT: Desktop updated to 7.2.11.
• Oct 21, ~7:51 PM EDT: last successful Local Run export.
• Oct 21, ~8:55 PM EDT: first "Broken pipe" failure. It has failed every time since, including on 7.2.12.
• Oct 22, separately: API code export for this project returned HTTP 500 for several hours, then recovered by Oct 23. Local Run stayed broken after the API export recovered.

Other observations (possibly related)
• The API export's asset list for this project includes assets/fonts/Roboto-SemiBold.ttf from https://storage.googleapis.com/flutterflow-prod-hosting/fonts/Roboto-SemiBold.ttf, which returns 404 (NoSuchKey). Every other Roboto weight on that host returns 200.
• Two bundled font file names contain spaces (Lexend Deca-Regular.ttf, Lexend Deca-SemiBold.ttf).
• Project dependencies:
-- git: dropdown_button2 (FlutterFlow fork), webviewx_plus (FlutterFlow fork), flutter_google_places (github.com/ShehanYjoz)
-- path: ff_commons, ff_theme, and the library project silver_parallax_project_plugin_89nfkx
-- 13 dependency_overrides

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triageA potential issue that has not been confirmed as a bug.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions