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

From version 6.2.0 we can't build web #1192

Closed
maravilhosinga opened this issue Jul 4, 2023 · 5 comments
Closed

From version 6.2.0 we can't build web #1192

maravilhosinga opened this issue Jul 4, 2023 · 5 comments

Comments

@maravilhosinga
Copy link

Describe the bug
From version 6.2.0 (including 6.2.1), building web is imposible. It's giving so many errors and exiting the build proccess

To Reproduce
Steps to reproduce the behavior:

  1. run $flutter build web

Expected behavior
We expect to build web release

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version: Ventura 13.5

Additional context

./../../../../.pub-cache/hosted/pub.dev/agora_rtc_engine-6.2.1/lib/src/impl/native_iris_api_engine_binding_delegate.dart:3:8: Error: Dart library 'dart:ffi' is not available on this platform. import 'dart:ffi' as ffi; ^ ../../../../../.pub-cache/hosted/pub.dev/agora_rtc_engine-6.2.1/lib/src/impl/native_iris_api_engine_bindings.dart:6:8: Error: Dart library 'dart:ffi' is not available on this platform. import 'dart:ffi' as ffi; ^ ../../../../../.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/lib/src/iris_method_channel.dart:2:8: Error: Dart library 'dart:ffi' is not available on this platform. import 'dart:ffi' as ffi; ^ ../../../../../.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/lib/src/iris_event.dart:1:8: Error: Dart library 'dart:ffi' is not available on this platform. import 'dart:ffi' as ffi; ^ ../../../../../.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/lib/src/native_bindings_delegate.dart:2:8: Error: Dart library 'dart:ffi' is not available on this platform. import 'dart:ffi' as ffi; ^ ../../../../../.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/lib/src/bindings/native_iris_api_common_bindings.dart:3:8: Error: Dart library 'dart:ffi' is not available on this platform. import 'dart:ffi' as ffi; ^ ../../../../../.pub-cache/hosted/pub.dev/ffi-2.0.2/lib/src/allocation.dart:5:8: Error: Dart library 'dart:ffi' is not available on this platform. import 'dart:ffi'; ^ ../../../../../.pub-cache/hosted/pub.dev/ffi-2.0.2/lib/src/arena.dart:8:8: Error: Dart library 'dart:ffi' is not available on this platform. import 'dart:ffi'; ^ ../../../../../.pub-cache/hosted/pub.dev/ffi-2.0.2/lib/src/utf8.dart:6:8: Error: Dart library 'dart:ffi' is not available on this platform. import 'dart:ffi'; ^ ../../../../../.pub-cache/hosted/pub.dev/ffi-2.0.2/lib/src/utf16.dart:5:8: Error: Dart library 'dart:ffi' is not available on this platform. import 'dart:ffi'; ^ ../../../../../.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/lib/src/bindings/native_iris_event_bindings.dart:6:8: Error: Dart library 'dart:ffi' is not available on this platform. import 'dart:ffi' as ffi; ^ ../../../../../.pub-cache/hosted/pub.dev/agora_rtc_engine-6.2.1/lib/src/impl/native_iris_api_engine_binding_delegate.dart:16:1: Error: Type 'ffi.DynamicLibrary' not found. ffi.DynamicLibrary _loadLib() { ^^^^^^^^^^^^^^^^^^ ../../../../../.pub-cache/hosted/pub.dev/agora_rtc_engine-6.2.1/lib/src/impl/native_iris_api_engine_binding_delegate.dart:40:24: Error: Type 'ffi.Void' not found. List<ffi.Pointer<ffi.Void>> args) { ^^^^^^^^

@littleGnAl
Copy link
Collaborator

For web support issues, see #844

@littleGnAl littleGnAl added the waiting for customer response waiting for customer response, or closed by no-reponse bot label Jul 6, 2023
@maravilhosinga
Copy link
Author

maravilhosinga commented Jul 7, 2023

@littleGnAl With the version version 6.0.0 I was where able to build web, even without using agora in web version, the problem with the current version is that it's impossible to build web app, even if you will not use agora for web. In my case we are using agora only in mobile (iOS and Android)

@github-actions github-actions bot removed the waiting for customer response waiting for customer response, or closed by no-reponse bot label Jul 7, 2023
@littleGnAl
Copy link
Collaborator

Flutter web is not supported on 6.x, I'm not sure how you can build it with 6.0.0.

@littleGnAl littleGnAl added the waiting for customer response waiting for customer response, or closed by no-reponse bot label Jul 10, 2023
@maravilhosinga
Copy link
Author

@littleGnAl Instead only writing, why don't you just test.

@github-actions github-actions bot removed the waiting for customer response waiting for customer response, or closed by no-reponse bot label Jul 10, 2023
@github-actions
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants