Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhoneGap to Cordova #10

Open
zxiu-bonofa opened this issue Apr 21, 2015 · 2 comments
Open

PhoneGap to Cordova #10

zxiu-bonofa opened this issue Apr 21, 2015 · 2 comments

Comments

@zxiu-bonofa
Copy link

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. (/usr/local/lib/node_modules/gulp-cli/index.js:199:15)
at Gulp.emit (events.js:129:20)
at Gulp.Orchestrator._emitTaskDone (/Users/zxui/CordovaProject/ReactJs-Phonegap/app/node_modules/gulp/node_modules/orchestrator/index.js:264:8)
at /Users/zxui/CordovaProject/ReactJs-Phonegap/app/node_modules/gulp/node_modules/orchestrator/index.js:275:23
at finish (/Users/zxui/CordovaProject/ReactJs-Phonegap/app/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)
at cb (/Users/zxui/CordovaProject/ReactJs-Phonegap/app/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)
at finish (/Users/zxui/CordovaProject/ReactJs-Phonegap/app/node_modules/gulp-run-sequence/index.js:35:5)
at Gulp.onError (/Users/zxui/CordovaProject/ReactJs-Phonegap/app/node_modules/gulp-run-sequence/index.js:41:4)
at Gulp.emit (events.js:129:20)

@guerjon
Copy link

guerjon commented Feb 16, 2017

i have the save problem!

@guerjon
Copy link

guerjon commented Feb 16, 2017

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.*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants