ReactNativeMeteorBoilerplate icon indicating copy to clipboard operation
ReactNativeMeteorBoilerplate copied to clipboard

Project fails to run

Open unoriginalscreenname opened this issue 7 years ago • 2 comments
trafficstars

The version of meteor in this project is out of date, and trying to run it out of the box results in an error. after updating to the latest version of meteor, it still fails saying that it can't resolve module '@babel/runtime/builtin/interopRequireDefault'

I'm also struggling to understand how to reproduce the approach to this project. There doesn't seem to be an explanation of how you made or are using the simlinks in the api directory. If i follow the instructions from the medium article i still can not even get this to run.

unoriginalscreenname avatar Nov 10 '18 12:11 unoriginalscreenname

Doing a "meteor update" in the api directory to bring meteor up to the latest version and then doing "npm install @babel/runtime@latest --save" in the root directory will fix the issue of meteor crashing. note: you will need to re-do the meteor client bundler if you already did it.

However, now there is an error in the simulator which says "cannot find module 'react'". I'm not sure what i'm doing wrong. has anybody gotten this running recently?

unoriginalscreenname avatar Nov 11 '18 19:11 unoriginalscreenname

The yellow message npm peer requirements (for-meteor-data) not installed: [email protected] - 16 not installed is a warning thrown by the Meteor package react-meteor-data. It doesn't appear to break anything.

After making the package.json use this "@babel/runtime": "7.0.0-beta.55" and changing the mobile-client.config.json to use my API servers IP address (otherwise the react native app points to itself I think) it seems to work.

The example doesn't work "out of the box" as it isn't rendering anything. Somethings broken with linking the data (renderRow always has undefined data while withTracker can console log the data.

CyberCyclone avatar May 06 '19 06:05 CyberCyclone