expo-pixi
expo-pixi copied to clipboard
Outdated expo-gl peer-dependency
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: [email protected]
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 [email protected]
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.
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!
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.
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!