I'm building an app in FlutterFlow, which auto-adds js: 0.7.2
as a dependency. I'm also using a custom package (elevenlabs_conversational2_x2dkep
from path), which depends on js: ^0.6.3
.
Due to this mismatch, I'm getting the following error during flutter pub get
"Because every version of elevenlabs_conversational2_x2dkep from path depends on flutter_secure_storage_web 1.2.1 which depends on js ^0.6.3, every version of elevenlabs_conversational2_x2dkep from path requires js ^0.6.3.
So, because gblue depends on both elevenlabs_conversational2_x2dkep from path and js 0.7.2, version solving failed."
I tried adding js: ^0.6.3
manually to my pubspec.yaml
, but FlutterFlow warns:
js (0.7.2) is automatically added by FlutterFlow.
The version you specified is incompatible with the versions used by FlutterFlow.
This is very likely to cause issues. Consider removing this dependency.