Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when importing #54

Open
seanscal opened this issue Dec 2, 2015 · 9 comments
Open

error when importing #54

seanscal opened this issue Dec 2, 2015 · 9 comments

Comments

@seanscal
Copy link

seanscal commented Dec 2, 2015

image

I'm getting this whenever I try to import the module. Did I do something incorrectly? I don't feel like there was a lot of steps I could have gone wrong with. I'm using react-native 0.14.2 if that helps.

@yberstad
Copy link

yberstad commented Dec 2, 2015

I'm having a similar problem, using 0.12.0.
simulator screen shot 02 dec 2015 21 00 10

@yberstad
Copy link

yberstad commented Dec 2, 2015

I got this example to run, https://github.com/Thorbenandresen/ExNavigatorExampleModal. I'll use this example as a base, thanks @thorbenandresen.

@ghost
Copy link

ghost commented Dec 2, 2015

I have the exact SyntaxError as @yberstad when importing using RN 0.16.0-rc.

@ide
Copy link
Member

ide commented Dec 2, 2015

React Native 0.16 broke a couple things -- use 0.15 for now.

@ghost
Copy link

ghost commented Dec 4, 2015

@ide , ok, I am now on 0.15, but get exactly same error as OP, any clue how to solve this?

@ghost
Copy link

ghost commented Dec 4, 2015

Ok, saw u have updated to 0.3.4 (and later 0.3.5), removing autobind and the updated documentation says ExNavigation is 0.16 compatible. I'll try 0.16.0-rc then...

@guanMac
Copy link

guanMac commented Dec 22, 2015

I also have this problem. I am on 0.15.0-rc . How could I fixed it?

@yberstad
Copy link

@guanMac I upgraded to 0.16.0 and it worked perfectly! :-)

@shohey1226
Copy link

I can't upgrade to the lastest RN becuase of Redux.. I resolved this issue by placing .babelrc under the project root. (I'm using Bebel5.8)

{
  "whitelist": [
    "es7.classProperties",
  ],
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants