Giter Site home page Giter Site logo

meteor-mongo-counter's People

Contributors

awwx avatar engelgabriel avatar jimmiebtlr avatar jprogrammer avatar marceloschmidt avatar osv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

meteor-mongo-counter's Issues

Meteor 1.4.1 and mongo counter 0.3.0: tinytest is not defined

Today i updated to meteor 1.4.1 and osv:[email protected]. When i want to run Meteor with osv@[email protected], this error happens:

user@host$ meteor


ReferenceError: Tinytest is not defined.

W20160822-09:13:45.295(2)? (STDERR) /home/$user/.meteor/packages/meteor-tool/.1.4.1.1bywalu++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20160822-09:13:45.295(2)? (STDERR)                             throw(ex);
W20160822-09:13:45.295(2)? (STDERR)                             ^
W20160822-09:13:45.296(2)? (STDERR)           
W20160822-09:13:45.296(2)? (STDERR) ReferenceError: Tinytest is not defined
W20160822-09:13:45.297(2)? (STDERR)     at packages/osv_mongo-counter/counter-tests.coffee.js:2:1
W20160822-09:13:45.297(2)? (STDERR)     at packages/osv_mongo-counter/counter-tests.coffee.js:32:1
W20160822-09:13:45.297(2)? (STDERR)     at packages/osv_mongo-counter/counter-tests.coffee.js:32:1
W20160822-09:13:45.298(2)? (STDERR)     at /home/$user/testimonium/repos/testimonium/.meteor/local/build/programs/server/boot.js:292:10
W20160822-09:13:45.299(2)? (STDERR)     at Array.forEach (native)
W20160822-09:13:45.299(2)? (STDERR)     at Function._.each._.forEach (/home/$user/.meteor/packages/meteor-tool/.1.4.1.1bywalu++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20160822-09:13:45.299(2)? (STDERR)     at /home/$user/testimonium/repos/testimonium/.meteor/local/build/programs/server/boot.js:128:5
=> Exited with code: 1                        
=> Your application is crashing. Waiting for file change.

I tried to install the tinytest package and it doesn't fix it. The actual fix is to downgrade osv:mongo-counter to 0.2.1 . Do you have any hint?

Thanks

setCounter doesn't create a new counter

I need to create a new counter with an initial value. I expected that setCounter could do that, but I ended doing something that doesn't appear to be intuitive:

incrementCounter('counterCollection', 'myCounter');
setCounter('counterCollection', 'myCounter', 10); 

Migration from mrt:meteor-counter

I'm attempting to use you're package instead of mrt:mongo-counter. I've upgraded, and added osv:mongo-counter.

And changed instance's of

incrementCounter("vendorCount");

to

incrementCounter('awwx_mongo_counter',"vendorCount");

The values in the updated application don't continue, where mrt:mongo-counter left off though. Any suggestions?

incrementCounter is not defined

Please explain "incrementCounter is not defined" why this is coming? I am using this as

incrementCounter("counters", 'scheduleNumber');

It's working fine according to functionality but exception is coming "incrementCounter is not defined". Please help as soon as possible.

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.