osv / meteor-mongo-counter Goto Github PK
View Code? Open in Web Editor NEWThis project forked from konecty/meteor-mongo-counter
Atomic counters stored in MongoDB.
License: MIT License
This project forked from konecty/meteor-mongo-counter
Atomic counters stored in MongoDB.
License: MIT License
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
incrementCounter returns 'undefined' after upgrade to Meteor 1.4.
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);
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.