Skip to content Skip to sidebar Skip to footer

Node App With Python Module In Project On Heroku Not Installing

I have a Node (Express server) project deployed to Heroku which runs fine, but I have a small Python module I wrote that doesn't need a server or new Heroku instance, but it needs

Solution 1:

You need multiple buildpacksfor your app.

Run the following:

heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi

Then, add the following in a file called .buildpacks in your project's root directory:

https://github.com/heroku/heroku-buildpack-python.git
https://github.com/heroku/heroku-buildpack-nodejs.git

Alternatively, you can use heroku toolbelt commands (heroku buildpacks:set and heroku buildpacks:add) to configure your multiple buildpacks, as described here.

Post a Comment for "Node App With Python Module In Project On Heroku Not Installing"