rn-background-geolocation-demo: error on "$ npm run open"
RNBackgroundGeolocationSample@2.9.4 open /Users/xxxxx/projects/yyyyy babel-node scripts/openConsole.js
sh: babel-node: command not found npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! RNBackgroundGeolocationSample@2.9.4 open:
babel-node scripts/openConsole.jsnpm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the RNBackgroundGeolocationSample@2.9.4 open script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/xxxxx/.npm/_logs/2017-10-23T23_54_04_451Z-debug.log
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 32 (10 by maintainers)
Commits related to this issue
- Merge branch 'babel-cli' — committed to transistorsoft/rn-background-geolocation-demo by christocracy 7 years ago
You need to use latest XCode 9.
Boot as in run the app. Like this