Open esutton opened 5 years ago
Hello @esutton
I am also facing similar error.
I ran:
git clone https://github.com/typeorm/react-native-example.git cd react-native-example yarn react-native run-ios
I got the errors about "Build input file cannot be found:" for double-conversion.cc, cached-powers.cc, diy-fp.cc, strtod.cc, fast-dtoa.cc, bignum.cc, fixed-dtoa.cc, bignum-dtoa.cc.
I noticed that react-native-sqlite-storage is not linked, so I did link it. now I got the error "'config.h' file not found"
So I cleaned the project and switched the build to legacy from the project settings. but the error stayed, I tried using relative path in project settings, but the error stayed the same.
Hello @esutton
I have created a boiler plate for myself from scratch using the docs and two issues' comments:
the problem with "experimentalDecorators" was solved using: https://github.com/zeit/next.js/issues/5231#issuecomment-464605072
I had a problem with types -not sure why- but I had to specify the type in the entity, I got that thanks to: https://github.com/typeorm/typeorm/issues/2897#issuecomment-467538873
The repo was tested with ios & android, I hope it helps you https://github.com/sheva007/typeorm-boilerplate
Has anyone succeeded to get this TypeORM example working on either iOS or Android?
I would love to find an ORM to replace Realm JS.
Results in red box error:
I cannot get Android to even get this far.
Tips and suggestion are much appreciated.