I am experimenting with Meteor, and fall in love with it. My question is:
Can I install any nodeJS package, such as NodeMailer, on my Meteor and get it work out of the box? If not, what are usual steps to get it running?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The short answer is no, Meteor has a dependency on Fibers which breaks native compatibility with many pacakges. Currently, getting a package that doesn’t use Fibers to work within Meteor is done case-by-case. Here is a recent example
You can follow these instructions to ensure your packages get deployed with your meteor app.
Here is rationale for why Meteor is built with Fibers by David Greenspan, one of Meteor’s core devs, emphasis mine: