I am using a React Native CLI project. When I run:
npx install-expo-modules@latest
npx installs install-expo-modules@0.16.0, but the command fails with the following error:
Uncaught Error Error: Unable to find compatible Expo SDK version - reactNativeVersion[0.86.0] at getDefaultSdkVersion (C:\Users\Dell\AppData\Local\npm-cache\_npx\b99c464f4819196b\node_modules\install-expo-modules\build\index.js:45:721809) at getSdkVersionInfo (C:\Users\Dell\AppData\Local\npm-cache\_npx\b99c464f4819196b\node_modules\install-expo-modules\build\index.js:45:682106) at runAsync (C:\Users\Dell\AppData\Local\npm-cache\_npx\b99c464f4819196b\node_modules\install-expo-modules\build\index.js:45:683721) at async C:\Users\Dell\AppData\Local\npm-cache\_npx\b99c464f4819196b\node_modules\install-expo-modules\build\index.js:45:684846
I would like to add Polish text-to-speech functionality using expo-speech.
Because this is an existing React Native CLI project that does not currently use Expo modules, I tried to run install-expo-modules before installing expo-speech.
According to the Expo native project upgrade helper, Expo SDK 57 uses React Native 0.86. However, the installer does not appear to recognize React Native 0.86 and cannot determine a compatible Expo SDK version.
I found a similar GitHub issue for React Native 0.83.2, but it does not contain a solution applicable to React Native 0.86: Unable to find compatible Expo SDK version — GitHub issue #43586
Does install-expo-modules@0.16.0 support React Native 0.86 and Expo SDK 57?
If not, what is the recommended way to add expo-speech to an existing React Native CLI 0.86 project? Do I need to configure Expo Modules manually, or is there another compatible installer version?