-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: unknown command 'generate-modules-provider'. See ' --help'. EAS IOS Build Expo49 #2201
Comments
Just an update, I got my build to work using yarn, but I had to switch from Build works fine if you are using |
Same issue here. In my case, the build error "unknown command generate-modules-provider" started to happen in ios builds on january 25th. Even if use yarn to build dependencies , the error occurs. Before january 25th , I had successful builds on ios with the same dependencies (package.json) . My project dependencies are: "dependencies": { |
I've solved it by updating expo to "50.0.4" . |
@evandrorocha It's probably because build job is unable to find module "generate-modules-provider". @yokozawa0701 I am not ready to upgrade to expo 50 yet. |
I've solved it downgrading the dev dependency "@types/expo": "^33.0.1" to "@types/expo": "^32.0.13". I dont know why, but it worked. |
My team has the same issue, any explanation about the cause? |
@abranhe not yet, My app is stuck at splashscreen with successful build using yarn. So it might be happening with yarn too |
Fixed it, make sure to run |
also using yarn but getting this error |
An update here. The only solution that worked for us was upgrading to Expo 50. |
This was the issue I also faced. |
which eas-cli version did you downgrade to? @kapobajza |
@3madurya3 try and use version eas-cli 7.5.0 |
If the fix isn't working, I can re
If this fix isn't working for everyone, I can reopen this issue. |
@bradherman if you are using |
@kaushik1094 when I use eas-cli 6 and above, I get this expo doctor error: And after doing npm why @expo/config-plugins, it says eas-cli is the one requiring this package version. But, expo SDK 49 requires @expo/config-plugins@~7.2.2. So, I downgraded to eas-cli 5.9.1 and it got rid of this package dependency issue. Please correct me if I'm wrong about expo SDK 49 requiring @expo/config-plugins@~7.2.2, though.
For expo-modules-autolinking, isn't this the package that each package should install for themselves? I once got a warning message saying this. |
@3madurya3 I don't think the error message relating to So, out of curiosity, were you able to downgrade the version to 1.5.0 and make it work? |
I see, that makes sense. I think you're right as well, while downgrading causes that warning message, I don't think it's the cause of any of my errors in building. I was able to get rid of the expo-doctor errors without downgrading to version 1.5.0 of expo-modules-autolinking (I downgraded to eas-cli 5.9.1 and did some other versioning changes I don't remember), so yes that part of it did work. But I don't think my 'generate-modules-provider' error came from the expo-modules-autolinking error, rather from having an upgraded version of expo-updates. |
@3madurya3 That makes sense. I am assuming updated version of |
Build/Submit details page URL
No response
Summary
EAS build for IOS is failing with the following error: error: unknown command 'generate-modules-provider'. See ' --help'.
Expo SDK version: ^49.0.21
React Native Version: "0.72.6"
Failing at fastlane
Managed or bare?
Managed
Environment
eas build --platform ios
Error output
› Executing FrontlineMTApp » [Expo] Configure project
❌ error: unknown command 'generate-modules-provider'. See ' --help'.
Reproducible demo or steps to reproduce from a blank project
Build with Expo 49 for IOS and failing at fastlane
Using NPM to manage dependencies.
Only happening while using
npm
works fine withyarn
The text was updated successfully, but these errors were encountered: