Jaha96 / interacting_bear

Flutter & Rive app inspiring from Talking Tom, but this time interacting tom using ChatGPT like LLM models.
MIT License
21 stars 5 forks source link

InternalError: Expression evaluation in async frames is not supported #5

Open sbourne20 opened 17 hours ago

sbourne20 commented 17 hours ago

I have this error : ChromeProxyService: Failed to evaluate expression 'messages': InternalError: Expression evaluation in async frames is not supported. No frame with index 77.. ChromeProxyService: Failed to evaluate expression 'OpenAIChatCompletionChoiceMessageModel': InternalError: Expression evaluation in async frames is not supported. No frame with index 77.. ChromeProxyService: Failed to evaluate expression 'fetchChatCompletion': InternalError: Expression evaluation in async frames is not supported. No frame with index 77..

Any ideas ?

Jaha96 commented 7 hours ago

No idea, check your flutter version and make sure you installed correct flutter versions of packages. If possible let me show your flutter doctor

sbourne20 commented 7 hours ago

here it is :

flutter doctor -v [!] Flutter (Channel unknown, 3.10.4, on macOS 14.5 23F79 darwin-x64, locale en-ID) ! Flutter version 3.10.4 on channel unknown at /Applications/flutter Currently on an unknown channel. Run flutter channel to switch to an official channel. If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install. ! Unknown upstream repository. Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install. • Framework revision 682aa387cf (1 year, 5 months ago), 2023-06-05 18:04:56 -0500 • Engine revision 2a3401c9bb • Dart version 3.0.3 • DevTools version 2.23.1 • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/iwanbudihalim/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Users/iwanbudihalim/.sdkman/candidates/java/current/bin/java • Java version Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16A242d • CocoaPods version 1.15.2

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2023.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.94.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.56.0

flutter --version Flutter 3.10.4 • channel unknown • unknown source Framework • revision 682aa387cf (1 year, 5 months ago) • 2023-06-05 18:04:56 -0500 Engine • revision 2a3401c9bb Tools • Dart 3.0.3 • DevTools 2.23.1

Jaha96 commented 7 hours ago

Please show me pub package list with versions. I will check it out tomorrow to run this project on chrome

sbourne20 commented 7 hours ago

here it is my pubspec.yaml :

dependencies: flutter: sdk: flutter

The following adds the Cupertino Icons font to your application.

Use with the CupertinoIcons class for iOS style icons.

cupertino_icons: ^1.0.2 rive: ^0.11.11 speech_to_text: ^6.3.0 permission_handler: ^11.0.0 flutter_riverpod: ^2.3.6 riverpod_generator: 2.3.2 riverpod_annotation: ^2.1.1 envied: ^0.5.3 dart_openai: ^4.0.0 flutter_tts: ^3.7.0 flag: ^7.0.0 collection: ^1.17.1 just_audio: ^0.9.34