Closed theabhayprajapati closed 1 year ago
There is a couple of tests that you can do before you upgrate to the last beta version and then rerun the CI, if the error persist reproduce the issue and report it, without the an example I can not help you
closing this due the lack of response, feel free to reopen if you had a reproducible example
This issue is occurring during the continuous integration and deployment (CI/CD) process, and the file is present in my local setup.
Steps to reproduce
graphql_flutter
package to the dependencies in thepubspec.yaml
file.import 'package:graphql_flutter/graphql_flutter.dart';
Expected behavior
The application should build and deploy successfully.
Actual behaviour
The application fails to build and deploy due to the error described above.
Environment
Additional context
It works fine on the local setups also local build works fine however when i deploy the application with github actions it gives me this error.
lib/main.dart:6:8: Error: Error when reading '../.pub-cache/hosted/pub.dev/graphql_flutter-5.1.0/lib/graphql_flutter.dart%20': Error reading '../.pub-cache/hosted/pub.dev/graphql_flutter-5.1.0/lib/graphql_flutter.dart%20' (No such file or directory) import 'package:graphql_flutter/graphql_flutter.dart '; ^ lib/main.dart:11:9: Error: Method is not found: 'initHiveForFlutter'. await initHiveForFlutter();