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
Installation Issue #175
Comments
What version of Cordova are you using? It probably has something to do with the PR I accepted |
ah i see. im running cordova 4.2.0 |
Today I tried to add this repo into my project, and I got the same error with topic owner. Hope you fix this soon |
It seems I naively accepted a pull request upgrading the dependencies to On Wednesday, May 6, 2015, Hoang Trinh Huy notifications@github.com wrote:
Snet from Gmail Mobile |
I have one more question, if I still want to use this repo with cordova 4.3.0, what I have to do? Because I've just realized that cordova 5.0 break my existing code, and now I don't have enough time to fix every error Thank you very much |
I've tagged the version before implementing the new Cordova 5-style Simply install the plugin by appending
FYI: Cordova 5 has migrated to npm for plugin-hosting, changing the naming convention of cordova plugins: OLD (pre Cordova 5): Since my plugin has 2 dependencies, the tag-branch
And #master branch uses new Cordova 5 style:
|
There seems to be a problem with the cordova-plugin-geolocation dependency.
I tried reinstalling the plugin and building the sample app and received the following error message:
SampleApp rm -rf platforms/android
SampleApp rm -rf plugins/org.transistorsoft.cordova.background-geolocation
SampleApp rm plugins/android.json
SampleApp cordova plugin add https://github.com/christocracy/cordova-plugin-background-geolocation.git
Fetching plugin "https://github.com/christocracy/cordova-plugin-background-geolocation.git" via git clone
SampleApp cordova platform add android
Creating android project...
Creating Cordova project for the Android platform:
Path: platforms/android
Package: com.transistorsoft.backgroundgeolocation
Name: Cordova Background GeoLocation
Android target: android-19
Copying template files...
Project successfully created.
Installing "org.apache.cordova.dialogs" for android
Installing "org.apache.cordova.geolocation" for android
Installing "org.transistorsoft.cordova.background-geolocation" for android
Fetching plugin "cordova-plugin-geolocation" via plugin registry
Failed to install 'org.transistorsoft.cordova.background-geolocation':Error: 404 Not Found: cordova-plugin-geolocation
at RegClient. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:304:14)
at Request._callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65)
at Request.self.callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:236:22)
at Request.emit (events.js:98:17)
at Request. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1142:14)
at Request.emit (events.js:117:20)
at IncomingMessage. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1096:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:938:16
at process._tickCallback (node.js:419:13)
Error: 404 Not Found: cordova-plugin-geolocation
at RegClient. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:304:14)
at Request._callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65)
at Request.self.callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:236:22)
at Request.emit (events.js:98:17)
at Request. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1142:14)
at Request.emit (events.js:117:20)
at IncomingMessage. (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1096:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:938:16
at process._tickCallback (node.js:419:13)
The text was updated successfully, but these errors were encountered: