I get the following error when after installing my Meteor application (developed in the old version of Meteor) on Meteor version 1.2.0.1:
ReferenceError: Random is not defined
Line of violation:
Players.insert({name: names[i], score: Math.floor(Random.fraction()*10)*5});
I have never had a problem with this line of code before and according to docs this should work.
Any ideas?
source
share