Skip to content

Flutterflow CLI - Export Code throws Server 500 Error #2575

@jagpreetsethi

Description

@jagpreetsethi

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • 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

I'm trying to export code using Flutterflow CLI.

On the Command Prompt Console, I executed following command but receiving "Unexpected Error From Server with Status 500" in return.

Executed: dart pub global activate flutterflow_cli
Output: Package flutterflow_cli is currently active at version 0.0.15.
< http 1.1.0 (was 1.2.1) (1.2.1 available)
< js 0.6.7 (was 0.7.1) (0.7.1 available)
These packages are no longer being depended on:
web 0.5.1
Building package executables... (2.0s)
Built flutterflow_cli:flutterflow_cli.
Installed executable flutterflow.
Activated flutterflow_cli 0.0.15.

Executed: flutterflow export-code --project --token
Unexpected error from the server.
Status: 500
Body: Unknown error

Expected Behavior

Code should be downloaded.

Steps to Reproduce

  1. dart pub global activate flutterflow_cli
  2. flutterflow export-code --project --token

Reproducible from Blank

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

Bug Report Code (Required)

None

Context

I'm trying to export code of my project using Flutterflow CLI.

As documented, on the Command Prompt console, I am executing suggested command but receiving "Unexpected Error From Server with Status 500" in return.

Visual documentation

None

Additional Info

No response

Environment

- FlutterFlow version: 
Flutter 3.19.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision abb292a07e (4 weeks ago) • 2024-02-20 14:35:05 -0800
Engine • revision 04817c99c9
Tools • Dart 3.3.0 • DevTools 2.31.1
- Platform: Macbook M1
- Browser name and version: Chrome
- Operating system and version affected: MacOS

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