Deploying Meteor 1.8 to Heroku (issues with babel)

I’m attempting to git push heroku master a Meteor project that works fine locally, but I’m getting this error in the Heroku CLI.

2019-11-14T18:50:13.042736+00:00 app[web.1]: Error:
2019-11-14T18:50:13.042738+00:00 app[web.1]: The @babel/runtime npm package could not be found in your node_modules
2019-11-14T18:50:13.042741+00:00 app[web.1]: directory. Please run the following command to install it:
2019-11-14T18:50:13.042743+00:00 app[web.1]: 
2019-11-14T18:50:13.042745+00:00 app[web.1]: meteor npm install --save @babel/runtime

When I heroku run that command I get command meteor not found.

Is this a buildpack issue? I’ve installed @babel/runtime locally and it’s working fine, but it seems like Heroku doesn’t have it installed? Thanks for any help.

There is this package which says it supports deployment to Heroku:

I can’t use it because it requires Docker, which requires Windows Pro, and I refuse to spend $99 for this one feature…

1 Like

Try to reinstall it as an administrator.

I followed some of the steps on this forum post to get Docker installed on Windows Home. Pretty sweet!

Did you add this build pack to your Heroku instance? https://github.com/AdmitHub/meteor-buildpack-horse

I got this to deploy on Windows! I couldn’t get the environment arguments to work from the command line, but it worked with a .env file. meteor-hero will by default try to create a Mongo instance on Heroku, but if you don’t have credits (or whatever) it will fail. I created a free sandbox on mlab and used a .env file to connect it. Works pretty well! Now I just have to figure out how to get svelte-routing to work…