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

Could not compile the project under web #344

Open
bambinoua opened this issue Jan 16, 2024 · 1 comment
Open

Could not compile the project under web #344

bambinoua opened this issue Jan 16, 2024 · 1 comment

Comments

@bambinoua
Copy link

When I tried to compi;e my project with the package I gor this error:

PS D:\Work\Flutter\beauty_salon_master> flutter build web

Target dart2js failed: ProcessException: Process exited abnormally:
/D:/Programs/flutter_pub-cache/hosted/pub.dev/flutter_form_bloc-0.31.0/lib/src/form_bloc_listener.dart:6:9:
Error: Type 'FormBlocState' can't use itself as a bound.
        FormBlocState extends form_bloc
        ^^^^^^^^^^^^^
/D:/Programs/flutter_pub-cache/hosted/pub.dev/flutter_form_bloc-0.31.0/lib/src/form_bloc_listener.dart:14:9:
Error: Type 'FormBloc' can't use itself as a bound.
        FormBloc extends form_bloc.FormBloc<SuccessResponse, ErrorResponse>,
        ^^^^^^^^
/D:/Programs/flutter_pub-cache/hosted/pub.dev/flutter_form_bloc-0.31.0/lib/src/form_bloc_listener.dart:17:13:
Error: Type argument 'FormBloc' doesn't conform to the bound 'StateStreamable<S>' of the type variable 'B' on 'BlocListener'.
 - 'StateStreamable' is from 'package:bloc/src/bloc.dart' ('/D:/Programs/flutter_pub-cache/hosted/pub.dev/bloc-8.1.2/lib/src/bloc.dart').
    extends BlocListener<FormBloc,
            ^
@vasilich6107
Copy link

#312 (comment)

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

2 participants