react-everywhere / re-start

react-native template to target multiple platforms :globe_with_meridians: :iphone: :computer: with single codebase.
https://medium.com/@amoghbanta/write-once-use-everywhere-with-react-native-d6e575efe58e#.nfl50gwfg
MIT License
1.3k stars 85 forks source link

`npm run build` fails #5

Closed kevnk closed 7 years ago

kevnk commented 7 years ago

$ npm run build

> babel-node tools/build.js

sh: babel-node: command not found

$ npm install -g babel-cli solves that. But now there's no tools/build.js file

amoghbanta commented 7 years ago

hey @kevnk you need babel-cli in global scope for babel-node. npm i -g babel-cli I have also added the build script. Can you please check now.

amoghbanta commented 7 years ago

It should not now, after the rewrite. Please give it a try.