expo / expo-webpack-integrations

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

@expo/webpack-config@18.1.1 doesn't support expo@49.0.0 #17

Open JPStrydom opened 1 year ago

JPStrydom commented 1 year ago

Summary

When trying to upgrade to expo 49, we receive the following error when running npm i:

npm ERR! Could not resolve dependency:
npm ERR! peer expo@"^48.0.17" from @expo/webpack-config@18.1.1
npm ERR! node_modules/@expo/webpack-config
npm ERR!   @expo/webpack-config@"^18.1.1" from the root project

Having a look at @expo/webpack-config, it still require expo 48:

  "peerDependencies": {
    "expo": "^48.0.17"
  },

Environment

  expo-env-info 1.0.5 environment info:
    System:
      OS: Windows 10 10.0.22621
    Binaries:
      Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
      npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
    IDEs:
      Android Studio: AI-222.4459.24.2221.9971841
    Expo Workflow: managed

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

All

Error output

npm ERR! Could not resolve dependency:
npm ERR! peer expo@"^48.0.17" from @expo/webpack-config@18.1.1
npm ERR! node_modules/@expo/webpack-config
npm ERR!   @expo/webpack-config@"^18.1.1" from the root project

Reproducible demo or steps to reproduce from a blank project

Simply trying to install expo@49.0.0 with @expo/webpack-config@18.1.1 installed will reproduce the error.