Giter Site home page Giter Site logo

Comments (8)

stevekuznetsov avatar stevekuznetsov commented on June 16, 2024

I believe this is related to #28005 @aleqsio

from expo.

stevekuznetsov avatar stevekuznetsov commented on June 16, 2024

Ah, sorry ... looks like this was mentioned: #27796 (comment)

Using npx expo@latest works to do the prebuild. If it's possible, getting the error message to be more coherent would probably help a lot here for messaging! I understand we're all doing a lot under these short timelines from Apple.

from expo.

stevekuznetsov avatar stevekuznetsov commented on June 16, 2024

In case anyone else ends up here from Google (none of my searches for that error message got me anywhere...)

I found the issue with:

$ npx expo-doctor@latest
✖ Check that native modules use compatible support package versions for installed Expo SDK

Detailed check results:

Expected package @expo/config-plugins@^7.8.0
Found invalid:
  @expo/[email protected]
  (for more info, run: npm why @expo/config-plugins)
Advice: Upgrade dependencies that are using the invalid package versions0.

One or more checks failed, indicating possible issues with the project.

Then with npm why:

@expo/[email protected]
node_modules/@bothrs/expo-mixpanel-analytics/node_modules/@expo/config-plugins
  @expo/config-plugins@"~7.2.0" from @expo/[email protected]
  node_modules/@bothrs/expo-mixpanel-analytics/node_modules/@expo/config
    @expo/config@"~8.1.0" from [email protected]
    node_modules/@bothrs/expo-mixpanel-analytics/node_modules/expo-constants
      expo-constants@"^14.0.2" from @bothrs/[email protected]
      node_modules/@bothrs/expo-mixpanel-analytics
        @bothrs/expo-mixpanel-analytics@"^2.0.3" from the root project

from expo.

JoseCWise avatar JoseCWise commented on June 16, 2024

Hello, i have the same problem but both my npx expo-doctor@latest is clean and the install --fix too.

Still i can't do the build with that same exact error

from expo.

stevekuznetsov avatar stevekuznetsov commented on June 16, 2024

You might find more info in the long comment thread on #27796, I don't know enough to help, sorry :(

from expo.

chunghn avatar chunghn commented on June 16, 2024

Hello, i have the same problem but both my npx expo-doctor@latest is clean and the install --fix too.

Still i can't do the build with that same exact error

Same. How did you fix it? I am not able to EAS build the project

from expo.

alterx avatar alterx commented on June 16, 2024

Same issue here, @chunghn @JoseCWise, make sure that you don't have any resolutions for the expo/config-plugins package. Also, make sure that it's not a direct dependency or devDependency in your project. After checking that the error was gone for me.

from expo.

chunghn avatar chunghn commented on June 16, 2024

This is how I solve it.

Run yarn why @expo/config-plugins and check if there are other version in use.

If this is your case, add "resolutions": { "@expo/config-plugins": "~8.0.4" } in package.json force all package to use updated version.

My package.json

 "dependencies": {
    "@expo/config-plugins": "~8.0.0",
    "expo": "~51.0.8",
...
  },
  "resolutions": {
    "@expo/config-plugins": "~8.0.4"
  }

from expo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.