FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
122 stars 18 forks source link

Build fails anytime I include a simple search (No Project Errors) #3355

Closed MrMCostello closed 2 months ago

MrMCostello commented 3 months ago

Can we access your project?

Current Behavior

Any time I include a simple search in my app and it in try test mode the build fails. It works fine in the when I run it as a web app.

Expected Behavior

Everything should be working fine. I have tried simple searches in many different ways and it reproduces the same outcome.

Steps to Reproduce

  1. Add simple search to current page.
  2. Launch Test Mode
  3. Build Failed
  4. Launch web version
  5. Search works
  6. Create new page
  7. Create simple search of different information
  8. Build Failed
  9. Launched web version
  10. Search works

Reproducible from Blank

Bug Report Code (Required)

63 packages have newer versions incompatible with dependency constraints. Try flutter pub outdated for more information. Launching lib/main.dart on Web Server in debug mode... Waiting for connection from debug service on Web Server... Error: Couldn't resolve the package 'text_search' in 'package:text_search/text_search.dart'. lib/exper/exper_widget.dart:9:8: Error: Not found: 'package:text_search/text_search.dart' import 'package:text_search/text_search.dart'; ^ lib/exper/exper_model.dart:10:8: Error: Not found: 'package:text_search/text_search.dart' import 'package:text_search/text_search.dart'; ^ lib/exper/exper_widget.dart:283:54: Error: The method 'TextSearch' isn't defined for the class '_ExperWidgetState'. - '_ExperWidgetState' is from 'package:dollar_auction/exper/exper_widget.dart' ('lib/exper/exper_widget.dart'). Try correcting the name to the name of an existing method, or defining a method named 'TextSearch'. _model.simpleSearchResults = TextSearch( ^^^^^^^^^^ lib/exper/exper_widget.dart:286:45: Error: The getter 'TextSearchItem' isn't defined for the class '_ExperWidgetState'. - '_ExperWidgetState' is from 'package:dollar_auction/exper/exper_widget.dart' ('lib/exper/exper_widget.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'TextSearchItem'. (record) => TextSearchItem.fromTerms( ^^^^^^^^^^^^^^ Unhandled exception: Null check operator used on a null value #0 IncrementalJavaScriptBundler.compile (package:frontend_server/src/javascript_bundle.dart:233) the Dart compiler exited unexpectedly. Waiting for connection from debug service on Web Server... 35.9s Failed to compile application.

Visual documentation

build failed simple search

Environment

- FlutterFlow version: FlutterFlow v4.1.69+ released July 9, 2024
  Flutter version is 3.22.2
- Platform: App
- Browser name and version: Chrome or app
- Operating system and version affected: Windows and Mac

Additional Information

No response

MrMCostello commented 3 months ago

Oh and I also want to add that their are no project errors no errors

Alezanello commented 3 months ago

Hello!

I will take a look at the issue by trying to replicate it in a new blank project. In the meantime, could you generate a Bug Report Code so we can access your project to see if this issue is project-specific?

To do this, please go to the page where you have set the Simple Search, right-click on the Scaffold (base page widget), and select "Bug Report Code."

image.png

Thank you!

Best regards,
Azanello

Alezanello commented 3 months ago

Hello again!

I wanted to let you know that I was unable to replicate the issue despite trying various methods. In Test mode, Web Publish, and local runs, everything works fine for me. I also created pages rapidly to check for any delay in adding the package to the project, but encountered no issues.

Could you please send me the Bug Report Code at your earliest convenience so I can check the project more thoroughly?

Thank you!

MrMCostello commented 3 months ago

IT4wlMmA8Yx1rsRE7aXuc8dFoCYXGDo1argomMEaQis8GZT0B4kcYs+kfklUOO2rdwhUJ1mkrHgX/MrmjvOSGvY6NSScGL1zzaV6UhbMQmK7Ra6rEK63b3J6BcdVBXXF1quRmhN5JrNpdU0j7U2ALuqvEj/fH5jwOm4RNea4XdeK2SrDX1iXc2URm05KZDPz

MrMCostello commented 3 months ago

Above is the bug report code

gameskysite commented 3 months ago

Same For Me.

Alezanello commented 3 months ago

Perfect!

Going to take a look on it!

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.

Alezanello commented 2 months ago

Hello!

I just ran the project you provided without any issues. Has this been fixed after the latest FF update? Is everything working fine on your end now?