javascript - Inserting Data into Meteor Collections -


i followed tutorial exactly: https://www.youtube.com/watch?v=hvr02nlz6u4 difference tried insert data 'users' collection exists confirmed robomongo because have accounts-ui , accounts-password packages installed. when got end , tried insert data collection, received following error detailed in first screen shot. in second screenshot can see collection exists. in final screenshot, can see source code. in closing, tried collection created in source code , responded "uncaught referenceerror: consumer not defined" in console. i'd prefer insert users table ok inserting consumer table made up. having said that, i'd appreciate solutions both instances. thank you!

this error after followed directions exactly

here can see 'users' collection exists

my js source code

my html source code

thanks once again!

if want access users collection use meteor.users.

another thing creation of user document should done accounts.createuser comes accounts-password package.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

asp.net - Passing parameter to telerik popup -

node.js - ldapjs - write after end error -