error signing in [Error: Expo managed workflow support for amazon-cognito-identity-js is only available in SDK 39 and higher.]

Hello,

I have an expo app running on SDK 37 using aws cognito for user management.
The app worked well until I installed my developpment environment on a new computer, now I’m getting an error when I try to connect : error signing in [Error: Expo managed workflow support for amazon-cognito-identity-js is only available in SDK 39 and higher.]

I don’t know why this error message is just popping now. I can’t upgrade my app to a newer SDK, because it is in testing phase and I don’t want to introduce changes now.

I’ve tried to install older expo CLI version (3.21.13) but I’m still getting the error.

Is there a solution ?

Thank you.

Diag :
Expo CLI 3.21.13 environment info:
System:
OS: Windows 10 10.0.19041
Binaries:
Node: 14.15.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 4.1.0.0 AI-201.8743.12.41.6858069
npmPackages:
expo: ~37.0.9 => 37.0.12
react: ~16.9.0 => 16.9.0
react-dom: ~16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz => 0.61.4
react-native-web: ~0.11.7 => 0.11.7

1 Like

That’s weird. Maybe try copying your yarn.lock file from the working machine to the new machine?