I am new to meteor
, and in my new (nearly blank) project I have in my main.js
following code:
console.log("Hello world");
PlayersList = new Mongo.Collection('players');
On the JavaScript console I got this error:
PlayersList.insert({ name: "David", score: 0 }); "YEK8N2KYHH2YeeHTr" debug.js:41 insert failed: Method '/players/insert' not found
Please help!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.