Reputation: 4331
I use multiple npm packages in my meteor application, for instance the 'knox' package for amazon s3 access.
On my local system I don't have any problems, because I have the 'knox'- npm package installed on my system. But on the server this is obviously not the case.
I have read different suggestions what I could do:
1)
Install the npm module into the /public folder of my application - unfortunately I don't know how to do that.
2)
I followed this tutorial:
I created packages/knox/package.js packages/knox/knox.js and I am pretty sure I did everything as described in the tutorial but this is not even working locally
Upvotes: 0
Views: 275
Reputation: 36940
Did you remember to add the knox
package to the .meteor/packages
file?
The link you shared is pre Meteor 0.6.5, which loaded all packages in packages/
automatically. Now, you need to specify them individually.
Upvotes: 0