Skip to content

Flutterflow can't access/recognize api_manager #6967

@Maazkhalid47

Description

@Maazkhalid47

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

I was working on a project, local run was working fineeee, until the editor crashed when an update arrived(as usual), I reopened flutterflow, ran local run and saw

Local run is failing and giving out these errors right after I updated to 6.5.41
Running Gradle task 'assembleDebug'...
lib/app_state.dart:5:8: Error: Error when reading 'lib/backend/api_requests/api_manager.dart': The system cannot find the file specified
import '/backend/api_requests/api_manager.dart';
^
lib/backend/api_requests/api_calls.dart:7:8: Error: Error when reading 'lib/backend/api_requests/api_manager.dart': The system cannot find the file specified
import 'api_manager.dart';
^
lib/backend/api_requests/api_calls.dart:12:1: Error: Error when reading 'lib/backend/api_requests/api_manager.dart': The system cannot find the file specified
export 'api_manager.dart' show ApiCallResponse;
^
lib/actions/actions.dart:4:8: Error: Error when reading 'lib/backend/api_requests/api_manager.dart': The system cannot find the file specified
import '/backend/api_requests/api_manager.dart';
^
lib/backend/api_requests/api_calls.dart:44:11: Error: Type 'ApiCallResponse' not found.
Future call({String? url,String? anon,}) async {
^^^^^^^^^^^^^^^
lib/backend/api_requests/api_calls.dart:83:11: Error: Type 'ApiCallResponse' not found.
Future call({int? limit,String? createdAt = '',String? url,String? anon,}) async {
^^^^^^^^^^^^^^^
lib/backend/api_requests/api_calls.dart:122:11: Error: Type 'ApiCallResponse' not found.
Future call({String? params = '',String? url,String? anon,}) async {
^^^^^^^^^^^^^^^
lib/backend/api_requests/api_calls.dart:161:11: Error: Type 'ApiCallResponse' not found.
Future call({String? param = '',String? url,String? anon,}) async {
...................goes on and on till the last api call I have created.

Expected Behavior

Should recognize the api manager and work as usual

Steps to Reproduce

1.Try runnning any existing project on local run that has api calls.....

Reproducible from Blank

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

Bug Report Code (Required)

ITFfi8mAuYt2m/Vc0b6JafpVnmE6NV8cTIMziNZ+exUbfaL1Bu0QYsmkcRZvXs/kaVNfe0yZqz8z/tXIkYXLDPlcCz+dbrp9+JNUVTnee2iub4jSBc2KRWsmONFbfH6c0aeNhgpTKbFuWC0A1E2DN/KufHPDFOu/Zwh9f6PHaOI=

Visual documentation

Image

Environment

- FlutterFlow version: 6.5.41
- Platform:desktop
- Browser name and version:none
- Operating system and version affected: windows 11

Additional Information

I tried working on a different project, on a different computer from a different account, the same thing happens.

The only resolution I have is to download 6.5.3 from flutterflow, but even then I have to resolve a flutter sdk conflict do a huge number of workarounds etc.
This bug has caused me alot of pain.......

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions