flutter-plugin icon indicating copy to clipboard operation
flutter-plugin copied to clipboard

The current Dart SDK version is 3.3.4.

Open Pawankant87 opened this issue 9 months ago • 4 comments

flutter pub add pay exit code 65 Note: intl is pinned to version 0.18.1 by flutter_localizations from the flutter SDK. See https://dart.dev/go/sdk-version-pinning for details.

The current Dart SDK version is 3.3.4.

Because pay <1.0.0 doesn't support null safety and pay >=1.0.0 depends on flutter_localizations from sdk, every version of pay requires flutter_localizations from sdk. And because every version of flutter_localizations from sdk depends on intl 0.18.1, every version of pay requires intl 0.18.1. So, because app depends on both intl ^0.19.0 and pay any, version solving failed.

The lower bound of "sdk: '>=2.10.0 <3.0.0'" must be 2.12.0 or higher to enable null safety. For details, see https://dart.dev/null-safety

Pawankant87 avatar Apr 29 '24 05:04 Pawankant87

I have same problem

macuser79 avatar May 02 '24 13:05 macuser79

Hi @Pawankant87 and @macuser79, I just created a new project and added pay using the console and can't reproduce the error. Also the error logs don't seem to apply to the current version of the package, which uses sdk > 3.0.0 on all its subpackages.

Can you share more details about your environment, and steps to reproduce the issue?

JlUgia avatar May 09 '24 10:05 JlUgia

Hi @Pawankant87 and @macuser79, I just created a new project and added pay using the console and can't reproduce the error. Also the error logs don't seem to apply to the current version of the package, which uses sdk > 3.0.0 on all its subpackages.

Can you share more details about your environment, and steps to reproduce the issue?

Hello. I have this error:

Because pay >=1.0.0 depends on flutter_localizations from sdk which depends on intl 0.18.1, pay >=1.0.0 requires intl 0.18.1. So, because myapp depends on both intl ^0.19.0 and pay ^2.0.0, version solving failed.

environment: sdk: '>=3.3.1 <4.0.0'

I have add pay: ^2.0.0 on pubspec.yaml and execute command "pub get"

macuser79 avatar May 09 '24 13:05 macuser79

facing same issue

rehan-505 avatar Sep 26 '24 21:09 rehan-505