Giter Site home page Giter Site logo

Comments (14)

keith-kurak avatar keith-kurak commented on June 19, 2024 3

fix should be live now!

from expo.

kziemski avatar kziemski commented on June 19, 2024 2

oh then its definitely [email protected]. i regularly run nvm install-latest-npm so i probably caught a later version.

from expo.

kziemski avatar kziemski commented on June 19, 2024 2

πŸ‘
Confirm Fixed.

npx expo-doctor@latest
Need to install the following packages:
[email protected]
Ok to proceed? (y) y

@cmat-cmon-app/[email protected] npx
expo-doctor

βœ” Check Expo config for common issues
βœ” Check package.json for common issues
βœ” Check native tooling versions
βœ” Check dependencies for packages that should not be installed directly
βœ” Check for common project setup issues
βœ” Check for issues with metro config
βœ” Check npm/ yarn versions
βœ” Check Expo config (app.json/ app.config.js) schema
βœ– Check that packages match versions required by installed Expo SDK
βœ” Check for legacy global CLI installed locally
βœ” Check that native modules do not use incompatible support packages
βœ” Check that native modules use compatible support package versions for installed Expo SDK

Detailed check results:

The following packages should be updated for best compatibility with the installed expo version:
...
..
Your project may not work correctly until you install the expected versions of the packages.
Found outdated dependencies
Advice: Use 'npx expo install --check' to review and upgrade your dependencies.

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

from expo.

outaTiME avatar outaTiME commented on June 19, 2024 1

same here @brentvatne but with Expo 50, I even tried to delete the dependencies and install them again, and I still get the same error.

βœ” Check Expo config for common issues
βœ” Check package.json for common issues
βœ” Check native tooling versions
βœ” Check dependencies for packages that should not be installed directly
βœ” Check for common project setup issues
βœ” Check for issues with metro config
βœ” Check npm/ yarn versions
βœ” Check Expo config (app.json/ app.config.js) schema
βœ” Check that packages match versions required by installed Expo SDK
βœ– Check that native modules do not use incompatible support packages
Unexpected error while running 'Check that native modules do not use incompatible support packages' check:
Error: Failed to find dependency tree for @unimodules/core: npm explain @unimodules/core --json exited with non-zero code: 1
βœ– Check for legacy global CLI installed locally
Unexpected error while running 'Check for legacy global CLI installed locally' check:
Error: Failed to find dependency tree for expo-cli: npm explain expo-cli --json exited with non-zero code: 1
βœ” Check that native modules use compatible support package versions for installed Expo SDK
One or more checks failed, indicating possible issues with the project.

I leave a screenshot and expo dependencies:

CleanShot 2024-04-30 at 14 41 18@2x

"expo": "^50.0.18",
"expo-application": "~5.8.4",
"expo-asset": "~9.0.2",
"expo-build-properties": "~0.11.1",
"expo-constants": "~15.4.6",
"expo-dev-client": "~3.3.11",
"expo-device": "~5.9.4",
"expo-file-system": "~16.0.9",
"expo-font": "~11.10.3",
"expo-image": "~1.10.6",
"expo-image-manipulator": "~11.8.0",
"expo-image-picker": "~14.7.1",
"expo-localization": "~14.8.4",
"expo-location": "~16.5.5",
"expo-notifications": "~0.27.7",
"expo-secure-store": "~12.8.1",
"expo-sharing": "~11.10.0",
"expo-splash-screen": "~0.26.5",
"expo-status-bar": "~1.11.1",
"expo-system-ui": "~2.9.4",
"expo-updates": "~0.24.12",

from expo.

keith-kurak avatar keith-kurak commented on June 19, 2024 1

@kziemski ah, sorry I missed that before! Thanks for providing it again, and thanks for your output, as well, @outaTiME !

It looks like we try to match on "npm ERR!", but your npm explain is returning "npm error". We could match on both, but I'm going to try to look around to figure out what could cause that output to change.

from expo.

expo-bot avatar expo-bot commented on June 19, 2024

Hi there! It looks like your issue requires a minimal reproducible example, but it is invalid or absent. Please prepare such an example and share it in a new issue.

The best way to get attention to your issue is to provide a clean and easy way for a developer to reproduce the issue on their own machine. Please do not provide your entire project, or a project with more code than is necessary to reproduce the issue.

A side benefit of going through the process of narrowing down the minimal amount of code needed to reproduce the issue is that you may get lucky and discover that the bug is due to a mistake in your application code that you can quickly fix on your own.

Resources

Common concerns

"I've only been able to reproduce it in private, proprietary code"

You may not have spent enough time narrowing down the root cause of the issue. Try out the techniques discussed in this manual debugging guide to learn how to isolate the problem from the rest of your codebase.

"I didn't have time to create one"

That's understandable, it can take some time to prepare. We ask that you hold off on filing an issue until you are able to fully complete the required fields in the issue template.

"You can reproduce it by yourself by creating a project and following these steps"

This is useful knowledge, but it's still valuable to have the resulting project that is produced from running the steps, where you have verified you can reproduce the issue.

from expo.

brentvatne avatar brentvatne commented on June 19, 2024

i can't reproduce this. it's possible that you're using an old version of expo-doctor. try npx expo-doctor@latest

from expo.

kziemski avatar kziemski commented on June 19, 2024

i just created an sample application using
npx create-expo-app@latest doctor-example
cd doctor-example
npx expo-doctor@latest
the error file is below
error.txt

here is the url that was created https://github.com/kziemski/doctor-example

from expo.

brentvatne avatar brentvatne commented on June 19, 2024

thanks, @keith-kurak will check this out

from expo.

expo-bot avatar expo-bot commented on June 19, 2024

Thank you for filing this issue!
This comment acknowledges we believe this may be a bug and there’s enough information to investigate it.
However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.

from expo.

keith-kurak avatar keith-kurak commented on June 19, 2024

I'm having trouble reproducing this locally, as well.

@outaTiME would you be able to confirm your local environment with npx expo-env-info?

@outaTiME and/or @kziemski , could you try one of the underlying commands manually from your terminal, e.g., npm explain expo-cli --json? It seems like that is erroring out, but it's not exposing the error.

At first I thought it was maybe a Node 20/ NPM 10 thing, but I switched to that and still couldn't reproduce.

from expo.

kziemski avatar kziemski commented on June 19, 2024

@outaTiME i included it in the original post
running those individual commands gives the following:

npm explain @unimodules/core --json
npm error No dependencies found matching @unimodules/core
{
"error": {
"code": null,
"summary": "No dependencies found matching @unimodules/core",
"detail": ""
}
}

npm explain expo-cli --json
npm error No dependencies found matching expo-cli
{
"error": {
"code": null,
"summary": "No dependencies found matching expo-cli",
"detail": ""
}
}

from expo.

outaTiME avatar outaTiME commented on June 19, 2024

I'm having trouble reproducing this locally, as well.

@outaTiME would you be able to confirm your local environment with npx expo-env-info?

@outaTiME and/or @kziemski , could you try one of the underlying commands manually from your terminal, e.g., npm explain expo-cli --json? It seems like that is erroring out, but it's not exposing the error.

At first I thought it was maybe a Node 20/ NPM 10 thing, but I switched to that and still couldn't reproduce.

Yes, for sure, here is the output of the npx expo-env-info:

  expo-env-info 1.2.0 environment info:
    System:
      OS: macOS 14.4.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.19.1 - ~/Library/Caches/fnm_multishells/59574_1714494219098/bin/node
      Yarn: 4.1.1 - ~/Library/Caches/fnm_multishells/59574_1714494219098/bin/yarn
      npm: 10.6.0 - ~/Library/Caches/fnm_multishells/59574_1714494219098/bin/npm
      Watchman: 2024.04.22.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.14.3 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 23.4, iOS 17.4, macOS 14.4, tvOS 17.4, visionOS 1.1, watchOS 10.4
    IDEs:
      Android Studio: 2023.2 AI-232.10300.40.2321.11668458
      Xcode: 15.3/15E204a - /usr/bin/xcodebuild
    npmPackages:
      expo: ^50.0.18 => 50.0.18 
      react: 18.2.0 => 18.2.0 
      react-native: 0.73.6 => 0.73.6 
    npmGlobalPackages:
      eas-cli: 7.8.5
    Expo Workflow: managed

and on the other hand, here is the output of npm explain expo-cli -json:

npm error No dependencies found matching expo-cli
{
  "error": {
    "code": null,
    "summary": "No dependencies found matching expo-cli",
    "detail": ""
  }
}

npm error A complete log of this run can be found in: /Users/outaTiME/.npm/_logs/2024-04-30T22_11_36_429Z-debug-0.log

I hope it will be useful πŸ™

from expo.

kziemski avatar kziemski commented on June 19, 2024

@keith-kurak if you're possibly on the discord can you check my related issue to this? I don't know if this is an expo problem i need to report or if its the package owner's issue. Tried to follow the code for "--check" and doctor but not sure where it get thats info.

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.