ReactJs-Phonegap
ReactJs-Phonegap copied to clipboard
PhoneGap to Cordova
I am a beginner to the Corss-platt Area. As i folllow the document by create app, i get error as bellow: How could i fix it? is the sample pass the new Cordova?
$ gulp create [09:22:39] Using gulpfile ~/CordovaProject/ReactJs-Phonegap/app/gulpfile.js [09:22:39] Starting 'create'... gulp.run() has been deprecated. Use task dependencies or gulp.watch task triggering instead. [09:22:39] Starting 'clean-app'... [09:22:39] Finished 'clean-app' after 14 ms [09:22:39] Starting 'create-app'... /bin/sh: phonegap: command not found [09:22:39] 'create-app' errored after 30 ms [09:22:39] Error in plugin 'gulp-shell' Message: Command failed: /bin/sh -c phonegap create phonegap-app /bin/sh: phonegap: command not found
Details: killed: false code: 127 signal: null cmd: /bin/sh -c phonegap create phonegap-app stdout: stderr: /bin/sh: phonegap: command not found
[09:22:39] 'create' errored after 50 ms
[09:22:39] Error: [object Object]
at formatError (/usr/local/lib/node_modules/gulp-cli/index.js:173:10)
at Gulp.
i have the save problem!
I solved, in build.configs.js you should change
org.apache.cordova.geolocation by https://github.com/apache/cordova-plugin-geolocation.git org.apache.cordova.statusbar by https://github.com/apache/cordova-plugin-statusbar.git org.apache.cordova.splashscreen by https://github.com/apache/cordova-plugin-splashscreen.git
because gulp can't not make the fetch to the org.apachecordoba.*