stream-chat-react-native icon indicating copy to clipboard operation
stream-chat-react-native copied to clipboard

package.json is locking to weird expo-versions

Open wmonecke opened this issue 3 years ago • 1 comments

Describe the bug In the package.json stream-chat is locking to weird and outdated versions of expo packages. Why is this being done?

expo doctor output:

Running "expo doctor"
- Finding all copies of expo-modules-autolinking
- Finding all copies of @expo/config-plugins
[stderr] [09:51:40] Expected package @expo/config-plugins@^4.1.0
[stderr] [09:51:40] Found invalid:
[stderr] [09:51:40]   @expo/[email protected]
[stderr] [09:51:40]   (for more info, run: npm why @expo/config-plugins)
- Finding all copies of @expo/prebuild-config
- Finding all copies of @unimodules/core
- Finding all copies of @unimodules/react-native-adapter
- Finding all copies of react-native-unimodules
[stderr] [09:51:42] Some dependencies are incompatible with the installed expo package version:
[stderr] [09:51:42]  - @react-native-community/netinfo - expected version: 8.2.0 - actual version installed: 6.0.0
[stderr] [09:51:42]  - expo-document-picker - expected version: ~10.2.1 - actual version installed: 9.1.2
[stderr] [09:51:42]  - expo-file-system - expected version: ~14.0.0 - actual version installed: 11.0.2
[stderr] [09:51:42]  - expo-haptics - expected version: ~11.2.0 - actual version installed: 10.0.0
[stderr] [09:51:42]  - expo-image-manipulator - expected version: ~10.3.1 - actual version installed: 9.1.0
[stderr] [09:51:42]  - expo-image-picker - expected version: ~13.1.1 - actual version installed: 10.1.4
[stderr] [09:51:42]  - expo-media-library - expected version: ~14.1.0 - actual version installed: 12.0.2
[stderr] [09:51:42]  - expo-sharing - expected version: ~10.2.0 - actual version installed: 9.1.2
[stderr] [09:51:42] Your project may not work correctly until you install the correct versions of the packages.
[stderr] To install the correct versions of these packages, please run: expo doctor --fix-dependencies,
[stderr] or install individual packages by running expo install [package-name ...]
Command "expo doctor" failed.
bash exited with non-zero code: 1

Dev environment info (please complete/provide the following information):

  • Package version (stream-chat-react-native/stream-chat-expo): "stream-chat-expo": "5.3.0",
  • react-native or expo version: "expo": "45.0.6",

wmonecke avatar Sep 15 '22 17:09 wmonecke

Hey @wmonecke, it seems like you are on the older version of expo and that might be the reason for the issue. Can you upgrade to 46.0.9 and see if you still face this problem.

You can follow our package.json of ExpoMessagingApp to check the version. I ran the same on this app and it was clear(no such errors).

khushal87 avatar Sep 16 '22 04:09 khushal87

Let's update the libs. that can be updated to the latest stable versions. Adding this to the backlog!

vanGalilea avatar Oct 11 '22 08:10 vanGalilea