Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Outdated expo-gl peer-dependency #156

Open
Bartozzz opened this issue Jan 26, 2021 · 3 comments · May be fixed by #228
Open

Outdated expo-gl peer-dependency #156

Bartozzz opened this issue Jan 26, 2021 · 3 comments · May be fixed by #228

Comments

@Bartozzz
Copy link

When upgrading to Expo SDK 40, expo-gl gets updated to ~9.2.0. This expo-gl version is incompatible with expo-pixi. Are there any breaking changes preventing the peer-dependency update?

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: expo-gl@9.2.0
npm ERR! node_modules/expo-gl
npm ERR!   expo-gl@"~9.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer expo-gl@"~4.0.0" from expo-pixi@1.2.0
npm ERR! node_modules/expo-pixi
npm ERR!   expo-pixi@"1.2.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
@timoisalive
Copy link

I'm not able to get things running even on "expo": "~39.0.2" (iOS, bare workflow).

I have installed "expo-pixi": "^1.2.0", and unlike the readme suggests, also "expo-gl": "~9.1.1" which seems to be required. I have run npx pod-install after adding the packages.

The app build fails, and this is what I get in XCode:

Error: Error loading assets JSON from Metro. Ensure you've followed all expo-updates installation steps correctly. Unable to resolve module @pixi/core from node_modules/@pixi/filter-adjustment/lib/filter-adjustment.cjs.js: @pixi/core could not be found within the project.

I would update to Expo SDK 40, but I guess it's not worth trying if that's not working either...

Which packages and versions am I supposed to install to get things running!?

Cheers!

@timoisalive
Copy link

I was doodling with this a bit: cloned the expo-pixi, updated the libs and linked to the cloned lib from my project. Got rid of the above mentioned error and the project actually builds, but now at runtime I get:

Unable to resolve module AccessibilityInfo from node_modules/expo-pixi/node_modules/react-native/Libraries/react-native/react-native-implementation.js: AccessibilityInfo could not be found within the project.

@timoisalive
Copy link

Hey @EvanBacon, any chance to take a look at updating the dependencies for this lib, would be a great addition to the Expo realm. Cheers!

@Bartozzz Bartozzz linked a pull request May 29, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants