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]: Flutter Web Build: Error: No named parameter with the name 'maxFacetHits'. #18

Closed
phillipshaong opened this issue Dec 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@phillipshaong
Copy link

Description

Unable to compile for Flutter Web.

Client

Search

Version

1.27.3

Relevant log output

(base) phillipng@pn ui % flutter build web --dart-define=APP_VERSION=$APP_VERSION --dart-define-from-file=.prod.env --release  

Target dart2js failed: ProcessException: Process exited abnormally with exit code 1:
/Users/phillipng/.pub-cache/hosted/pub.dev/algolia_helper_flutter-1.1.0/lib/src/service/algolia_client_extensions.dart:41:7:
Error: No named parameter with the name 'maxFacetHits'.
      maxFacetHits: maxFacetHits,
      ^^^^^^^^^^^^
/Users/phillipng/.pub-cache/hosted/pub.dev/algolia_client_search-1.27.3/lib/src/model/search_for_hits.dart:21:9:
Info: Found this candidate, but the arguments don't match.
  const SearchForHits({
        ^^^^^^^^^^^^^
Error: Compilation failed.
@phillipshaong phillipshaong added the bug Something isn't working label Dec 11, 2024
@phillipshaong
Copy link
Author

I see there is a duplicate ticket. algolia/algoliasearch-helper-flutter#151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant