Skip to content
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

This package does not support expo 51 #30

Open
disrae opened this issue Jul 20, 2024 · 3 comments
Open

This package does not support expo 51 #30

disrae opened this issue Jul 20, 2024 · 3 comments

Comments

@disrae
Copy link

disrae commented Jul 20, 2024

Summary

This package specifies expo 51 as a invalid.

Environment

expo-env-info 1.2.0 environment info:
    System:
      OS: macOS 14.5
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
      Yarn: 1.22.22 - ~/.nvm/versions/node/v20.11.1/bin/yarn
      npm: 10.8.2 - ~/.nvm/versions/node/v20.11.1/bin/npm
      Watchman: 2024.07.08.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.15.2 - /Users/daniel/.rvm/gems/ruby-2.7.2/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 23.5, iOS 17.5, macOS 14.5, tvOS 17.5, visionOS 1.2, watchOS 10.5
      Android SDK:
        API Levels: 23, 26, 28, 29, 30, 31, 33, 34
        Build Tools: 30.0.2, 30.0.3, 33.0.1, 34.0.0
        System Images: android-30 | Intel x86 Atom_64, android-33 | Google APIs ARM 64 v8a
    IDEs:
      Android Studio: 2024.1 AI-241.18034.62.2411.12071903
      Xcode: 15.4/15F31d - /usr/bin/xcodebuild
    npmPackages:
      expo: ~51.0.21 => 51.0.21 
      expo-router: ~3.5.18 => 3.5.18 
      react: 18.2.0 => 18.2.0 
      react-dom: 18.2.0 => 18.2.0 
      react-native: 0.74.3 => 0.74.3 
      react-native-web: ~0.19.10 => 0.19.12 
    Expo Workflow: managed

Please specify your device/emulator/simulator platform, model and version

Not Applicable

Error output

$ npm i @expo/webpack-config
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: webpack-config-bug@1.0.0
npm error Found: expo@51.0.21
npm error node_modules/expo
npm error   expo@"~51.0.21" from the root project
npm error
npm error Could not resolve dependency:
npm error peer expo@"^49.0.7 || ^50.0.0-0" from @expo/webpack-config@19.0.1
npm error node_modules/@expo/webpack-config
npm error   @expo/webpack-config@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/daniel/.npm/_logs/2024-07-20T02_02_06_991Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/daniel/.npm/_logs/2024-07-20T02_02_06_991Z-debug-0.log

Reproducible demo or steps to reproduce from a blank project

npx create-expo-app@latest
npm i @expo/webpack-config
@chefguevara
Copy link

Fresh install, I'm having the same issue.

@georgedobrin
Copy link

Can anyone point to any workaround at least? Seems a bit weird this is kind of abandoned taking into consideration the importance of customizing the webpack bundles

@cnysten-tieto
Copy link

@georgedobrin Not sure about this but I think it is because Webpack support is deprecated. For me it seems all I needed to do is remove the dependency as suggested here https://stackoverflow.com/questions/78520524/expo-sdk-51-breaks-npm-install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants