0

I'm using the Poet module in an Express app. Poet don't support Expresss 4 yet, but a patch exist, a change in the module code.

I applied that patch, and my app is working locally.

But Heroku load the original version of the package, without patch.

After reading this question, I run

heroku run bash
cat my-file

It confirmed that heroku is working with the wrong version of the module.

How can I apply the change to my heroku app ?

Community
  • 1
  • 1
Ruff9
  • 1,163
  • 15
  • 34

1 Answers1

1

Create your npm own module, at some github repo, with the path, and use:

 npm install --from-git git@server:project

I gues this way it should work :3

Marcelo Boeira
  • 860
  • 8
  • 22
  • Can't make it work, pb at npm install ("no compatible version found"...) I will try another way, thanks anyway :) – Ruff9 Aug 01 '14 at 14:35