When enabling Atlas (v0.4.0) in an Expo project that uses react-native-keyboard-controller (version 1.18.4), I am getting the following error:
ERROR TypeError: The "to" argument must be of type string. Received undefined
at Object.relative (node:path:1319:5)
at /Users/renchap/dev/project/node_modules/expo-atlas/src/data/MetroGraphSource.ts:170:45
at Array.map (<anonymous>)
at convertModule (/Users/renchap/dev/project/node_modules/expo-atlas/src/data/MetroGraphSource.ts:167:55)
at discover (/Users/renchap/dev/project/node_modules/expo-atlas/src/data/MetroGraphSource.ts:142:31)
at /Users/renchap/dev/project/node_modules/expo-atlas/src/data/MetroGraphSource.ts:143:51
at Map.forEach (<anonymous>)
at discover (/Users/renchap/dev/project/node_modules/expo-atlas/src/data/MetroGraphSource.ts:143:27)
at /Users/renchap/dev/project/node_modules/expo-atlas/src/data/MetroGraphSource.ts:143:51
at Map.forEach (<anonymous>)
The error happens when you import anything from react-native-keyboard-controller into your own app.
Disabling Atlas fixes it and the app runs fine.
When enabling Atlas (v0.4.0) in an Expo project that uses
react-native-keyboard-controller(version 1.18.4), I am getting the following error:The error happens when you import anything from
react-native-keyboard-controllerinto your own app.Disabling Atlas fixes it and the app runs fine.