expo / expo-webpack-integrations

Packages used to integrate Expo in Webpack-based projects.
8 stars 1 forks source link

Upgrade expo version to support expo version 50 #24

Open xiongemi opened 7 months ago

xiongemi commented 7 months ago

Summary

currently got a version conflict with expo version 50

Environment

expo-env-info 1.0.5 environment info: System: OS: macOS 14.0 Shell: 5.9 - /bin/zsh Binaries: Node: 20.6.1 - ~/.nvm/versions/node/v20.6.1/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v20.6.1/bin/yarn npm: 9.8.1 - ~/.nvm/versions/node/v20.6.1/bin/npm Watchman: 2023.11.27.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.12.1 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0 IDEs: Android Studio: 2022.3 AI-223.8836.35.2231.10811636 Xcode: 15.0.1/15A507 - /usr/bin/xcodebuild npmGlobalPackages: eas-cli: 5.2.0 Expo Workflow: managed

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

expo@50.0.0-preview.7

Error output

when running npm install with expo version, got this error:

npm ERR! While resolving: @expo/webpack-config@19.0.0
npm ERR! Found: expo@50.0.0-preview.7
npm ERR! node_modules/expo
npm ERR!   expo@"50.0.0-preview.7" from the root project
npm ERR!   peer expo@"*" from expo-constants@15.4.2
npm ERR!   node_modules/expo-constants
npm ERR!     expo-constants@"~15.4.0" from expo-asset@9.0.1
npm ERR!     node_modules/expo-asset
npm ERR!       expo-asset@"~9.0.1" from expo@50.0.0-preview.7
npm ERR!   5 more (expo-file-system, expo-font, expo-keep-awake, expo-pwa, expo-splash-screen)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer expo@"^49.0.7" from @expo/webpack-config@19.0.0
npm ERR! node_modules/@expo/webpack-config
npm ERR!   @expo/webpack-config@"^19.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: expo@49.0.21
npm ERR! node_modules/expo
npm ERR!   peer expo@"^49.0.7" from @expo/webpack-config@19.0.0
npm ERR!   node_modules/@expo/webpack-config
npm ERR!     @expo/webpack-config@"^19.0.0" from the root project

Reproducible demo or steps to reproduce from a blank project

NilsBaumgartner1994 commented 7 months ago

Too