Tcomb-form-native: Super expression must either be null or a function

Created on 20 May 2016  Â·  8Comments  Â·  Source: gcanti/tcomb-form-native

Version

  • tcomb-form-native v0.4.4
  • react-native v0.26.0

    Expected behaviour

To work :D

Actual behaviour

screen

I just upgraded to RN 0.26, which made update all other dependancies. But I couldn't figure what's the problem with this library, because the code seems 'ok' (I'm talking about the code in components.js).

Thanks,
Stefan

Most helpful comment

The RN release cycle is insane. It's hard to keep updated when your app is broken every two weeks. I really love the technology and thank Facebook for it but man, I hope we get to 1.0 soon.

Enviado desde mi iPhone

El 21 may 2016, a las 7:32, Giulio Canti [email protected] escribió:

You can use the master branch

Another option is installing a particular commit (the current last commit on master should be safe):

npm install gcanti/tcomb-form-native#13e2c68c8832208626253011916a2542fc426168
so you don't depend on (possibly breaking) future commits on master

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

All 8 comments

it is not yet compatible with RN 0.26. The implicit dependency on react was removed and the lib has to be updated to take that into account.

It appears to be fixed on the master branch. You can use the master branch directly by setting you package.json to
"tcomb-form-native": "gcanti/tcomb-form-native"

I'd suggest waiting until the next release to upgrade RN or making sure you revert your package.json back as soon as the next release comes out. Working with unreleased code long term is probably not a good idea.

You can use the master branch

Another option is installing a particular commit (the current last commit on master should be safe):

npm install gcanti/tcomb-form-native#13e2c68c8832208626253011916a2542fc426168

so you don't depend on (possibly breaking) future commits on master

The RN release cycle is insane. It's hard to keep updated when your app is broken every two weeks. I really love the technology and thank Facebook for it but man, I hope we get to 1.0 soon.

Enviado desde mi iPhone

El 21 may 2016, a las 7:32, Giulio Canti [email protected] escribió:

You can use the master branch

Another option is installing a particular commit (the current last commit on master should be safe):

npm install gcanti/tcomb-form-native#13e2c68c8832208626253011916a2542fc426168
so you don't depend on (possibly breaking) future commits on master

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

@alvaromb going to release a 0.5.0-rc.0, ok?

Ok!

Thumbs up.

Enviado desde mi iPhone

El 22 may 2016, a las 8:43, Giulio Canti [email protected] escribió:

@alvaromb going to release a 0.5.0-rc.0, ok?

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

Hello out there, I was getting this issue still, but it was because I was getting the older 0.4.4 version, force npm install to fetch the 0.5 version and you should be ok.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pgmemk picture pgmemk  Â·  4Comments

casoetan picture casoetan  Â·  5Comments

sibelius picture sibelius  Â·  4Comments

muthuraman007 picture muthuraman007  Â·  4Comments

pocesar picture pocesar  Â·  4Comments