Hi,
I am trying to use Phantomjs. It works perfectly fine if I install it directly in my Meteor directory following these steps - http://stackoverflow.com/a/28125219/4382567
But I am not able to get it to work when keeping this code in a separate local package.
Here is what I am doing:
I have set the dependency of my package on meteorhacks:npm (and tried npm-container too) and keeping the packages.json file in the root path of my package.
The error I am getting:
ReferenceError: require is not defined
Could you please tell me how to resolve this?