galio: Fatal errors while testing galio
Describe the bug Hi. I’m having a problem while trying to use Galio. With a fresh expo app I get the following error: undefined is not an object (evaluating ‘Constants.manifest’) if I’m connected via tunnel or local.
If I’m connected via LAN i get the following error: Uncaught Error: 23.0.0 is not a valid SDK version.
To Reproduce 1- expo init 2- yarn add galio-framework 2-
// App.js
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { Button } from 'galio-framework';
export default class App extends React.Component {
render() {
return (
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
<Button>Press here!</Button>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});
Screenshots

Smartphone (please complete the following information):
- Device: TPLINK TP701A
- Type of device: physical
- OS: Android 5.1
- React-Native version: 32
- Expo version: 32
Computer (please complete the following information):
- OS: Ubuntu Linux 18.10
- Node version: 10.12.0
- Expo CLI version: 2.6.14
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19
@palingheorghe can confirm its working alright on 0.4.3
Hi again @fbraz, @flamebeard, @rteobaldo, @idrakimuhamad!
You should try reinstalling Galio. It is now working as expected ❤️. Thanks @hetmann for the tip and thank you all for your patience!
Happy coding!
@palingheorghe Just update the expo version to the latest one 😃
Thanks for your help man, If you need help replicating this then please let me know, I’m happy to help out testing this for you if need be 😃
Can also confirm that this work around is functioning for the time being, thank you for your efforts!
Easy and fast fix: Until I’ll be able to solve the issues (which are clearly regarding node_modules) you can always continue creating your apps with Galio.
The easiest and best way to still use Galio with your app is the following:
Clone our repo in a different folder. Go ahead and copy the insides of the
srcfolder and create a new folder in your project’s root folder (you could call it galio, that’s what I did 🧜🏽♂️). You can now still use the components like this:import { Button } from './galio'Hope this helps your for now. I hope I’ll solve this bug as fast as possible. I’m going to tag you guys in order to make sure you see this: @idrakimuhamad, @flamebeard, @fbraz, @rteobaldo !
Thanks for your patience! ❤️
Hi @idrakimuhamad, @flamebeard ! I wasn’t able to fix this issue at the moment so I’m going to have to keep on trying. I am getting the exact same error while using
yarn. Another type of error pops up while usingnpm.Small summary with the current status of this situation:
react-native-svgexpo-assetandexpo-constants.I’ll keep on lookin’ into this, any help you could give me regarding this is appreciated. I’ll come back with updates!
Thanks!
Hi @rteobaldo @fbraz, I’m going to make some more tests and figure out what the problem is. Meanwhile, any new information regarding this would be of much help to me.
Thank you very much, ❤️