eas-cli icon indicating copy to clipboard operation
eas-cli copied to clipboard

Project with path ':expo-modules-core' could not be found in project ':expo'

Open tomlinder opened this issue 1 year ago • 3 comments

Build/Submit details page URL

https://expo.dev/accounts/francesco9820/projects/dummytestdeploy/builds/992e22e5-86d8-4404-b25a-401356f330f7

Summary

We are a small team of developers located in Sweden and we are trying to develop a mobile application with Expo. However, we are encountering a problem when we try to deploy the app using the command: “eas build -p android --profile preview", since we get the error:

Project with path ':expo-modules-core' could not be found in project ':expo'

The thing is that we are able to deploy the app if we use the command "expo build:android -t apk” and we cannot understand reasons behind this. Could you please help us?

Managed or bare?

Managed

Environment

Finding all copies of @unimodules/core

  • Finding all copies of @unimodules/react-native-adapter
  • Finding all copies of react-native-unimodules [14:17:28] Some dependencies are incompatible with the installed expo package version: [14:17:28] - @react-native-async-storage/async-storage - expected version: ~1.15.0 - actual version installed: 1.17.9 [14:17:28] - expo-constants - expected version: ~13.0.1 - actual version installed: 13.2.4 [14:17:28] - expo-file-system - expected version: ~13.1.4 - actual version installed: 14.1.0 [14:17:28] - expo-font - expected version: ~10.0.4 - actual version installed: 10.2.0 [14:17:28] - expo-image-picker - expected version: ~12.0.1 - actual version installed: 13.3.1 [14:17:28] - expo-modules-core - expected version: ~0.6.4 - actual version installed: 0.11.4 [14:17:28] - expo-updates - expected version: ~0.11.7 - actual version installed: 0.14.5 [14:17:28] - lottie-react-native - expected version: 5.0.1 - actual version installed: 5.1.3 [14:17:28] - react-native-safe-area-context - expected version: 3.3.2 - actual version installed: 4.3.1 [14:17:28] - react-native-screens - expected version: ~3.10.1 - actual version installed: 3.15.0 [14:17:28] - react-native-svg - expected version: 12.1.1 - actual version installed: 12.3.0 [14:17:28] Your project may not work correctly until you install the correct versions of the packages. To install the correct versions of these packages, please run: expo doctor --fix-dependencies, or install individual packages by running expo install [package-name ...] [14:17:31] Warning: Invalid version [email protected] for expo sdkVersion 44.0.0. Use [email protected]

Error output

Project with path ':expo-modules-core' could not be found in project ':expo'

Reproducible demo or steps to reproduce from a blank project

Gradle code

tomlinder avatar Aug 24 '22 12:08 tomlinder

As you can see in the expo doctor output you posted you are using incompatible versions of packages. Fix the issue listed there.

To install correct versions of those packages run expo doctor --fix-dependencies

wkozyra95 avatar Aug 24 '22 12:08 wkozyra95

We have run it many times but we are still getting the problems

From: Wojciech Kozyra @.> Reply to: expo/eas-cli @.> Date: Wednesday, 24 August 2022 at 14:31 To: expo/eas-cli @.> Cc: tomlinder @.>, Author @.***> Subject: Re: [expo/eas-cli] Project with path ':expo-modules-core' could not be found in project ':expo' (Issue #1311)

As you can see in the expo doctor output you posted you are using incompatible versions of packages. Fix the issue listed there.

To install correct versions of those packages run expo doctor --fix-dependencies

— Reply to this email directly, view it on GitHubhttps://github.com/expo/eas-cli/issues/1311#issuecomment-1225659614, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZSXRTCUNEB4IWRBB56J7F3V2YI3JANCNFSM57PDCLCA. You are receiving this because you authored the thread.Message ID: @.***>

tomlinder avatar Aug 24 '22 12:08 tomlinder

We have run it many times but we are still getting the problems

That sounds unlikely, I'm not saying that expo doctor --fix-dependencies will fix all the issues, but you shouldn't get those warnings about incompatible packages.

If you think expo doctor does not update your packages correctly, please provide the output of the command and diff of the changes that it made

Or fix those errors manually.

wkozyra95 avatar Aug 25 '22 12:08 wkozyra95

+1 to this issue. Cannot eas build android. Expo doctor says:

🎉 Didn't find any issues with the project!

Gradle Logs say: > Project with path ':expo-modules-core' could not be found in project ':react-native-reanimated'.

BFMarks avatar Sep 14 '22 01:09 BFMarks

I have the same problem in my project after upgrading to RN 0.70 Did anyone manage to solve it?

danielcunhas avatar Oct 11 '22 00:10 danielcunhas

Sorry for the answer of before. First of all thanks for your message, but we run expo doctor –fix-dependencies many times and we are still encountering the problem. Do you have in mind an alternative solution? Many thanks,

Tom

From: Tom Linder @.> Date: Wednesday, 24 August 2022 at 14:39 To: expo/eas-cli @.>, expo/eas-cli @.> Cc: Author @.> Subject: Re: [expo/eas-cli] Project with path ':expo-modules-core' could not be found in project ':expo' (Issue #1311)

We have run it many times but we are still getting the problems

From: Wojciech Kozyra @.> Reply to: expo/eas-cli @.> Date: Wednesday, 24 August 2022 at 14:31 To: expo/eas-cli @.> Cc: tomlinder @.>, Author @.***> Subject: Re: [expo/eas-cli] Project with path ':expo-modules-core' could not be found in project ':expo' (Issue #1311)

As you can see in the expo doctor output you posted you are using incompatible versions of packages. Fix the issue listed there.

To install correct versions of those packages run expo doctor --fix-dependencies

— Reply to this email directly, view it on GitHubhttps://github.com/expo/eas-cli/issues/1311#issuecomment-1225659614, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZSXRTCUNEB4IWRBB56J7F3V2YI3JANCNFSM57PDCLCA. You are receiving this because you authored the thread.Message ID: @.***>

tomlinder avatar Oct 11 '22 07:10 tomlinder

I also faced the same problem. is there any solution this issue.

nurikon avatar Oct 13 '22 08:10 nurikon

Samething here, doctor say everything is good, but i get Project with path ':expo-modules-core' could not be found in project ':expo'

oliviercperrier avatar Oct 14 '22 19:10 oliviercperrier

bump

next6leo avatar Oct 17 '22 05:10 next6leo

any solution for this issue ?

SiddhiBlackLotus avatar Nov 11 '22 05:11 SiddhiBlackLotus

same

Desintegrator avatar Nov 13 '22 20:11 Desintegrator

any workaround for this issue?

SunZhiC avatar Nov 14 '22 13:11 SunZhiC

Having this same issue, anyone has manage to solve it?

LuisEB avatar Nov 24 '22 16:11 LuisEB

Having this same issue, anyone has manage to solve it?

Have you solved this issue? @LuisEB ??

kevilondo avatar Dec 31 '22 20:12 kevilondo

any solution for this issue ?

Have you solved it? @SiddhiBlackLotus @SunZhiC ?

kevilondo avatar Dec 31 '22 20:12 kevilondo

I'm having the same issue, can't find any solutions for it!

jbar173 avatar Jan 07 '23 16:01 jbar173

Project with path ':expo-modules-core' could not be found in project ':expo'.

thanhdat2106 avatar Feb 10 '23 01:02 thanhdat2106

I am having the same problem with expo sdk46 using eas build

thanhdat2106 avatar Feb 10 '23 01:02 thanhdat2106

SDK 47 is as well suffering the same fate!

2MO5 avatar Feb 10 '23 06:02 2MO5

I'm also having the same issue - "project with path ':expo-modules-core' could not be found in project ':expo'."

Expo doctor also says Didn't find any issues with the project!

calcooke avatar Feb 22 '23 16:02 calcooke

What could be the issue here guys?

A problem with the linking?

2MO5 avatar Feb 23 '23 04:02 2MO5

Just created a fresh expo module and I get the same issue.

tolypash avatar Feb 26 '23 01:02 tolypash

Same here , also with expo doctor & expo doctor --fix-dependencies outputs: 🎉 Didn't find any issues with the project!

ghost avatar Feb 27 '23 16:02 ghost

I am also having this issue with expo module: "Unable to resolve module expo". It started after I upgraded to Expo SDK 48.

BeatrizLopes97 avatar Mar 01 '23 13:03 BeatrizLopes97

Having the same issue after upgrading to SDK 48. Any updates?

fribeiropaiva avatar Apr 24 '23 15:04 fribeiropaiva

I'm having the same issue with SDK 48. Does anyone know how to fix this?

54m1r avatar May 22 '23 08:05 54m1r

same here - none of the above mentioned fixes helped

chrishoermann avatar May 27 '23 19:05 chrishoermann

I have the same issue.

ATSudoDev avatar Jun 23 '23 17:06 ATSudoDev

Any updates on this issue? I am getting the same error.

MohammadKurjieh avatar Jun 26 '23 06:06 MohammadKurjieh

Same issue here

korg1OOO avatar Jun 27 '23 23:06 korg1OOO