ex-navigator icon indicating copy to clipboard operation
ex-navigator copied to clipboard

error when importing

Open seanscal opened this issue 9 years ago • 9 comments

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.

seanscal avatar Dec 02 '15 18:12 seanscal

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

yberstad avatar Dec 02 '15 19:12 yberstad

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

yberstad avatar Dec 02 '15 22:12 yberstad

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

ghost avatar Dec 02 '15 22:12 ghost

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

ide avatar Dec 02 '15 23:12 ide

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

ghost avatar Dec 04 '15 00:12 ghost

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...

ghost avatar Dec 04 '15 00:12 ghost

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

guanMac avatar Dec 22 '15 04:12 guanMac

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

yberstad avatar Dec 22 '15 07:12 yberstad

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",
  ],
}

shohey1226 avatar Dec 25 '15 01:12 shohey1226