poc-angular-react-native icon indicating copy to clipboard operation
poc-angular-react-native copied to clipboard

gulp init not working on my mac

Open itsmeprasanjit opened this issue 10 years ago • 3 comments

on running gulp init it says ---->This will walk you through creating a new React Native project in /Users/prnjls/Documents/reactnative/angular2-react-native-seed/dist/ngRnSeed. But it does not do anything afterwards. and on running gulp start.ios afterwards says ----> file.js [16:48:27] Starting '!assets'... [16:48:27] Starting 'watch'... [16:48:27] Finished '!assets' after 63 ms [16:48:27] Starting 'transpile'... [16:48:31] Finished 'transpile' after 3.7 s [16:48:31] Starting '!launch.ios'... { [Error: Command failed: /bin/sh -c react-native run-ios Command run-ios unrecognized. Did you mean to run this inside a react-native project? ] killed: false, code: 1, signal: null, cmd: '/bin/sh -c react-native run-ios' } [16:48:32] Finished '!launch.ios' after 348 ms

itsmeprasanjit avatar Apr 15 '16 11:04 itsmeprasanjit

Hello,

this is what gulp init should do:

gulp init
[11:22:24] Using gulpfile ~/dev/github/react-native-renderer/gulpfile.js
[11:22:24] Starting 'clean'...
[11:22:24] Finished 'clean' after 39 ms
[11:22:24] Starting '!create'...
This will walk you through creating a new React Native project in /Users/mlaval/dev/github/react-native-renderer/dist/app/ngReactNative

Installing react-native package from npm...

Setting up new React Native app in /Users/mlaval/dev/github/react-native-renderer/dist/app/ngReactNative

It takes a few minutes to execute everything. Once it is done, you can do the gulp start.ios

marclaval avatar Apr 15 '16 11:04 marclaval

By the way, the project has just been moved to: https://github.com/angular/react-native-renderer See you there :)

marclaval avatar Apr 15 '16 12:04 marclaval

Thanks did the trick .Will meet again at https://github.com/angular/react-native-renderer

itsmeprasanjit avatar Apr 15 '16 13:04 itsmeprasanjit