Meteor Common Mistakes and Solutions
Meteor is an awesome full stack java script platform for modern web developers, Since I started Using Meteor recently thought of writing an article helping the beginners to skip few common mistakes I did at the Beginning, Hoping to update this post in future .
Using Meteor Mongo Database In The command Line while you have an existing version of Mongo db in the Computer
Since Meteor bundle automatically contains Mongo Database Meteor projects will be using that as their database server. Solution is very simple while your project is running ,open another command line and type : meteor mongo
Insert failed ‘/post/insert’ Not found
If you wish to do something like this "Sales = new Mongo.Collection('sales');" A shared code in Your Meteor project. This has to be done in a shared location , Mostly recommended pattern is to create a lib folder and add shared code there .
for more patterns see : the docs114
No compatible binary build found for this package. Contact the package author and ask them to publish it for your platform. while adding accounts-password package to your meteor application
This most probably happens because you have an old version of bcrypt update your bcrypt version using meteor add npm-bcrypt@0.8.7
And now try meteor add accounts-password again
Expected identifier, number, string, boolean, null, or a subexpression enclosed in "(", ")"
This mostly occurs when you are trying to use access field names which has a dash "-" from the template
something like {{ first-name }}
.jpg)