Skip to content

webjay/nodegit-heroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodegit-heroku

Example of problem getting nodegit installed on Heroku:

Error: GLIBCXX_3.4.20 not found Error: Cannot find module '../build/Debug/nodegit.node'

  • git clone https://github.com/webjay/nodegit-heroku.git && cd nodegit-heroku
  • brew install heroku-toolbelt
  • heroku apps:create --buildpack https://github.com/heroku/heroku-buildpack-nodejs.git
  • git push heroku master
  • heroku logs

Solution

nodegit/nodegit#845

The solution was to heroku buildpacks:add --index 1 https://github.com/ddollar/heroku-buildpack-apt and adding this file: https://github.com/webjay/nodegit-heroku/blob/master/Aptfile

This helped on an existing app: https://github.com/heroku/heroku-repo

About

Problem and solution of getting nodegit installed on Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published