Coder Social home page Coder Social logo

Comments (5)

pmwisdom avatar pmwisdom commented on June 10, 2024

I'll try a fresh install tomorrow. What version of meteor are you running it on?

Didn't realize that it was pointed to this repo. I'll fix that tomorrow.

Here's the repo for the meteor wrapper.

https://github.com/pmwisdom/meteor-background-geolocation-services

from cordova-background-geolocation-services.

syafiqFiqq avatar syafiqFiqq commented on June 10, 2024

im on Meteor version 1.1.0.3 .. Orite, will wait for your trial result..
thanks..

from cordova-background-geolocation-services.

pmwisdom avatar pmwisdom commented on June 10, 2024

@syafiqFiqq I believe the reason was that ECMAscript was a dependency of the package and you are on sub meteor version sub 1.2. I removed ecmascript dep, since we weren't using es6. Please try the new version on atmosphere.

pmwisdom/meteor-background-geolocation-services@950bc5f

from cordova-background-geolocation-services.

syafiqFiqq avatar syafiqFiqq commented on June 10, 2024

i already give it a try and it give me this error

Error while running for mobile platforms: Error running
/Users/syafiqFiqq/.meteor/packages/meteor-tool/.1.1.4.1ou5jw4++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/cordova-scripts/cordova.sh
Error: 404 Not Found: cordova-plugin-geolocation
at RegClient.
(/Users/syafiqFiqq/.meteor/packages/meteor-tool/.1.1.4.1ou5jw4++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:304:14)
at Request._callback
(/Users/syafiqFiqq/.meteor/packages/meteor-tool/.1.1.4.1ou5jw4++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/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
(/Users/syafiqFiqq/.meteor/packages/meteor-tool/.1.1.4.1ou5jw4++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/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.
(/Users/syafiqFiqq/.meteor/packages/meteor-tool/.1.1.4.1ou5jw4++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/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.
(/Users/syafiqFiqq/.meteor/packages/meteor-tool/.1.1.4.1ou5jw4++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/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:944:16
at process._tickCallback (node.js:442:13)

it seem that it cant find the cordova-plugin-geolocation.. any idea on this? Thanks

from cordova-background-geolocation-services.

pmwisdom avatar pmwisdom commented on June 10, 2024

Unfortunately I just tested this out and to use this plugin with less than meteor 1.2, your going to have to download / fork this package locally and replace the cordova depends in package.js with :

Cordova.depends({
"cordova-plugin-geolocation" : "https://github.com/apache/cordova-plugin-geolocation/tarball/79bdb044bef0a2b8e5470b32af8db9f7f38c9fb3",
"org.flybuy.cordova.background-location-services" : "https://github.com/pmwisdom/cordova-background-geolocation-services/tarball/bd1d3d2e8a65585614f0d2278ecd0cfada450652"
});

That, or you can upgrade meteor and it will work.

from cordova-background-geolocation-services.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.