Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Instance of 'LinkedMap<Object?, Object?>': type 'LinkedMap<Object?, Object?>' is not a subtype of type 'String' #1032

Open
1 task done
sgehrman opened this issue Dec 10, 2024 · 1 comment
Assignees

Comments

@sgehrman
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Package

youtube_player_iframe (Default)

What happened?

DartError: TypeError: Instance of 'LinkedMap<Object?, Object?>': type 'LinkedMap<Object?, Object?>' is not a subtype of type 'String'
dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3 throw
errors.dart:296
dart-sdk/lib/_internal/js_shared/lib/rti.dart 1405:3 _failedAsCheck
rti.dart:1405
dart-sdk/lib/_internal/js_shared/lib/rti.dart 1383:3 _generalAsCheckImplementation
rti.dart:1383
packages/youtube_player_iframe_web/src/web_youtube_player_iframe_controller.dart 210:65
web_youtube_player_iframe_controller.dart:210
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 426:37 _checkAndCall
operations.dart:426
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 451:39 dcall
operations.dart:451
packages/web/src/helpers/events/streams.dart 165:63
streams.dart:165
dart-sdk/lib/_internal/js_dev_runtime/patch/js_allow_interop_patch.dart 188:27 _callDartFunctionFast1
js_allow_interop_patch.dart:188
DartError: TypeError: Instance of 'LinkedMap<Object?, Object?>': type 'LinkedMap<Object?, Object?>' is not a subtype of type 'String'
dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3 throw
errors.dart:296
dart-sdk/lib/_internal/js_shared/lib/rti.dart 1405:3 _failedAsCheck
rti.dart:1405
dart-sdk/lib/_internal/js_shared/lib/rti.dart 1383:3 _generalAsCheckImplementation
rti.dart:1383
packages/youtube_player_iframe_web/src/web_youtube_player_iframe_controller.dart 210:65
web_youtube_player_iframe_controller.dart:210
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 426:37 _checkAndCall

What is the expected behaviour?

shouldn't be so buggy and lame

How to reproduce?

use it

Flutter Doctor Output

duh
@ProfessorX737
Copy link

ProfessorX737 commented Dec 14, 2024

I am getting this also but only exists in production. For some reason when I run in release mode I don't get it this error but only get tit when I deploy to production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants