FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
130 stars 26 forks source link

64 packages have newer versions incompatible with dependency constraints. Try `flutter pub outdated` for more information & Error: 'getTranslationListFirestoreData' is exported from both 'package:menuz/backend/schema/structs/translation_list_struct.dart' and 'package:menuz/backend/schema/structs/translation_struct.dart'. #3474

Closed ogatayosuke0117 closed 3 months ago

ogatayosuke0117 commented 4 months ago

Can we access your project?

Current Behavior

スクリーンショット 2024-07-25 140856

Expected Behavior

Solve it or give me solution

Steps to Reproduce

all in image I installed firebase translation extention 1 week ago, that might be issue?? this one! https://extensions.dev/extensions/firebase/firestore-translate-text

and also, traslation in flutterflow is activated at same time, with multiple languages,

Reproducible from Blank

Bug Report Code (Required)

ITEei/HlvM5Jn7wG0Kn6K8JonQMwJ0QlUIInj+0bWRMhfar2PIoieePObRdLYteYfwlqHFakhXMH0c7rkYbxLPA5ORaZbqJz1r5XQTmUezm7WrGbDZCCbXF7EZhRIVSx4Ym0kBMmJtBiSU4b706YJfCdG3qCf9qOYwx5e6fDbOY=

Visual documentation

スクリーンショット 2024-07-25 140856

Environment

- FlutterFlow version: FlutterFlow v4.1.76+ released July 25, 2024
Flutter version is 3.22.2
- Platform:Web
- Browser name and version:Chrome 
- Operating system and version affected: Windows11

Additional Information

No response

ogatayosuke0117 commented 4 months ago

Project ID ; menuz-zu0vj4

Alezanello commented 4 months ago

Hello!

The issue seems to be that the error log indicates a conflict with the translation of Firestore data from two packages:

Error: 'getTranslationListFirestoreData' is exported from both 'package:menuz/backend/schema/structs/translation_list_struct.dart' and 'package:menuz/backend/schema/structs/translation_struct.dart'.

Try removing one of these conflicting exports to see if it resolves the issue.

Best regards,
Azanello

ogatayosuke0117 commented 4 months ago

how can I see the 2 darts code?? I removed extention from firebase though 'package:menuz/backend/schema/structs/translation_list_struct.dart' and 'package:menuz/backend/schema/structs/translation_struct.dart'

ogatayosuke0117 commented 4 months ago

I mean how can I remove of them?

ambience-kim commented 3 months ago

I also suddenly started having similar issues about 2 hours ago. (See attached image)

For reference, before this issue occurred, I was modifying the UI and backend logic, and the compilation was fine until this issue occurred. And when I tried to check the result after changing the label value on the screen, the compilation error started occurring.

The strange thing is, I have created and used several custom widgets, but I have not created any custom widgets in the past 2 weeks.

스크린샷 2024-08-01 오후 6 18 35

ambience-kim commented 3 months ago

I tried to fix this error yesterday by excluding my custom widgets from compilation. But this error still occurred, so I gave up working on FF yesterday.

And today I didn't do anything, but this issue disappeared. So I included all my custom widgets in the project, and this issue still doesn't occur.

That means this issue doesn't occur to me now, and this issue disappeared regardless of my work.

Alezanello commented 3 months ago

Hello again!
I'm glad is fixed so i'll close this issue for now, if this happens again please don't hesitate in creating a new one!