I'm having a problem to run the application for Flutter.
pub get failed(69)
I've tried using firebase_storage: any
and firebase_storage: ^1.0.4
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
firebase_auth: ^0.8.1+2
firebase_database: ^0.4.6
firbase_storage: any
firebase_core: any
intl: ^0.15.7
image_picker:
dev_dependencies:
flutter_test:
sdk: flutter
I expected the output to receive the exit code 0 but instead it tells me pub get failed (69)
The main problem is network. Sometimes "flutter pub get" is returning "exit code: 69" because of network problem. You can check your network and you can change using VPN.
This is happening due to unwanted space in the below code
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
firebase_auth: ^0.8.1+2
firebase_database: ^0.4.6
firbase_storage: any
firebase_core: any
intl: ^0.15.7
image_picker:
You can use YAML validator to check the issue in the yaml file.
Try once like this:
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
firebase_auth: ^0.8.1+2
firebase_database: ^0.4.6
firbase_storage: any
firebase_core: any
intl: ^0.15.7
image_picker:
dev_dependencies:
flutter_test:
sdk: flutter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With