Comments (4)
export *
is JS syntax that RN doesn't support out of the box. You'll need to configure Babel. Make a .babelrc like this: https://github.com/exponentjs/ex-navigation/blob/master/example/.babelrc and add babel-preset-react-native-stage-0
(and optionally babel-plugin-transform-react-jsx-source
) to your devDependencies
and try again.
from expo.
Thanks.
now I am getting: undefined is not a function (evaluating '_exponent2.default.registerComponent('main', function() {return App;})')
.
Interesting fact - i don't see that error in the exponent window. it's only showing on my phone.
from expo.
@oren it's Exponent.registerRootComponent(App)
not Exponent.registerComponent('main', () => App)
from expo.
works now. thanks!
from expo.
Related Issues (20)
- [docs] Module API Reference - Android Package interface installation should be explained HOT 1
- iOS/Android bundling unable to resolve vfile package exports HOT 2
- Expo Image Picker Not working on Android 14 HOT 2
- expo-camera/next onResponsiveOrientationChanged event type mismatch HOT 6
- Error: The method or property expo-crypto.getRandomBytes is not available on android, are you sure you've linked all the native dependencies properly? HOT 1
- (Expo Router 3.5.2) - Wrapping route in Slot/Stack layout causes params to be undefined HOT 1
- can't copy object JS Debugger (DevTools) on SDK 50 HOT 3
- [Android][SDK 50] expo-camera/next causes freeze on render for specific OnePlus Device model HOT 1
- New expo and react native project events do not work HOT 2
- its telling me that i cant run the expo app on web because i have not yet installed the web dependencies HOT 1
- Cannot read property 'useMemo' of null HOT 20
- [SDK51/router 3.5.3] Href prop on Link not typed HOT 2
- expo-build-properties doesn't set iOS deployment target correctly. HOT 1
- expo-build-properties doesn't set iOS deployment target correctly. HOT 2
- Expo font not working HOT 1
- build error (in target 'EXUpdates' from project 'Pods') HOT 1
- [docs] @example tags are not rendered correctly HOT 1
- expo-image-picker doesn't return the cancel event on Web HOT 1
- Cannot build for iOS 17.4 with JSC - Expo 51 Beta HOT 2
- [SDK 51 beta] Build failing when not using Expo CLI integration in bare app HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.