Until now we could get the absolute path of a file to open later as readStream with this code snippet:
var base = path.resolve(\'.\'); var file = base + \'/d
Hey you do not need to hardcode like the above answers... take a look to This package
After install it you can access the root path of your meteor just wih Meteor.rootPath
Meteor.rootPath