I have a Meteor app that runs perfectly on localhost, but when I deploy it to a remote heroku
server, I get the following errors.
(I am implementing thi
Make sure this line:"moment": "^2.14.1"
is your package.json
then run npm install
Can you try meteor npm install
in your project root?
If moment didn't appear in that list, can you try meteor npm install --save moment
?
Otherwise, could you please post your package.js - it should be in app/programs/server/
I think it's a problem with your buildpack. Try following this guide - https://meteorcoder.wordpress.com/2016/09/24/how-to-deploy-meteor-apps-with-heroku/