Modules available in Snack


#21

hi Expo
I’ve faced this kind of issues

Failed to install module ‘react-nav’: Attempted to redefine property ‘transition’.
imported from null

can anyone explain about above issues pl?


#22

It’s a lot easier for people to help if you can share the link to your snack.
It looks like you are attempting to use the ‘react-nav’ module, which is failing when the app tries to load it.
We generally recommend using react-navigation for navigation. If that’s what you were trying to use, snack’s automatic imports will sometimes pull in things that aren’t what you intended if you pause while typing the import :open_mouth: There isn’t a way to resolve that situation in the UI right now, but we’ve been working to make that better and it will be available very shortly.


#23

Hi guys, I can’t use taobao’s GCanvas. Here is my link
https://snack.expo.io/ry4BJRFjM

The issue is that the native libraries are not available right?


#24

Oooh, looks nice.
But yes, snack will only work with pure JS libraries & native code in RN or Expo


#25

@thetc

I am experiencing errors with react-navigation v2.14
Here is a link to my project

Thanks for your help!
Also is there a master list where I can see modules / packages that expo currently supports along with their versions?

-Sam


#26

I am facing an error regarding react-native-svg. The error message is: Failed to install module ‘react-native-svg’: Failed to download module ‘react-native-svg@Supported builtin module’
imported from null. What should I do to solve it? My snack link is https://snack.expo.io/@isthaison/react-native-svg-charts


#27

Just delete “react-native-svg” from your package.json. It’s builtin module.


#28

@jakubste
I was wondering if you had any ideas for my error:

Device: (78:20) (0, _reactNavigation.createStackNavigator) is not a function. (In '(0, _reactNavigation.createStackNavigator)({ Home: _LandingScreen2.default, List: _PokeList2.default }, { initialRouteName: 'Home' })', '(0, _reactNavigation.createStackNavigator)' is undefined) Evaluating module://App.js Loading module://App.js

Also here is a link to my project:

github.com/KenzieAcademy/rn-pokedex-react-navigation


#29

@swkane It’s often worthwhile to try upgrading to the latest SDK if you run into issues. https://snack.expo.io/@thetc/github.com-kenzieacademy-rn-pokedex-react-navigation


#30

That fixed it! Thanks for the tip. I will be sure to add that to the mental debugging checklist.


#31

Hi, I am getting error while using validate.js.

Here is a snack

Can someone please help.

Thanks!!!