Deploy Web Build via Vercel, getting a mismatch between the collection version and the package requirement

When deploying my web version to Vercel, I am getting this error:

Note: collection is pinned to version 1.18.0 by flutter_test from the flutter SDK. See https://dart.dev/go/sdk-version-pinning for details. Because every version of flutter_test from sdk depends on collection 1.18.0 and the_sound_mind_journal depends on collection 1.17.2, flutter_test from sdk is forbidden. So, because the_sound_mind_journal depends on flutter_test from sdk, version solving failed. You can try the following suggestion to make the pubspec resolve: * Try upgrading your constraint on collection: flutter pub add collection:^1.18.0 Error: Command "flutter/bin/flutter build web --release" exited with 1

I cannot find any documentation on how to fix this within FlutterFlow. Does anyone know how I can fix this mismatch within FlutterFlow.

2 replies