Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.
This repository was archived by the owner on May 22, 2019. It is now read-only.

Help with using on Heroku #5

@mtimofiiv

Description

@mtimofiiv

Hello,

This issue is similar to #1 and #3.

I have a Node app that requires in your module. I have 2 buildpacks on Heroku, one that builds mitie and one the builds the standard Node.js stuff.

Here is the buildpack for Mitie:
https://github.com/unfaked/heroku-buildpack-mitie

I am getting the following errors not on the Mitie install but on the packages install. It chokes on this module, and here is the relevant logs:

-----> Building dependencies
       Installing node modules (yarn.lock)
       yarn install v0.28.1
       [1/4] Resolving packages...
       [2/4] Fetching packages...
       [3/4] Linking dependencies...
       [4/4] Building fresh packages...
       error /tmp/build_0e5e74929469690fdee982d39ccd1f4d/mtimofiiv-unfaked-mitie-79558e16414485f53e4ef012a3a155719ca4810d/node_modules/mitie: Command failed.
       Exit code: 1
       Command: sh
       Arguments: -c node-gyp rebuild
       Directory: /tmp/build_0e5e74929469690fdee982d39ccd1f4d/mtimofiiv-unfaked-mitie-79558e16414485f53e4ef012a3a155719ca4810d/node_modules/mitie
       Output:
       make: Entering directory '/tmp/build_0e5e74929469690fdee982d39ccd1f4d/mtimofiiv-unfaked-mitie-79558e16414485f53e4ef012a3a155719ca4810d/node_modules/mitie/build'
       CXX(target) Release/obj.target/mitie/src/mitie.o
       In file included from ../src/mitie.cc:2:0:
       ../src/entity_extractor.h:5:42: fatal error: mitie/named_entity_extractor.h: No such file or directory
       compilation terminated.
       mitie.target.mk:98: recipe for target 'Release/obj.target/mitie/src/mitie.o' failed
       make: *** [Release/obj.target/mitie/src/mitie.o] Error 1
       make: Leaving directory '/tmp/build_0e5e74929469690fdee982d39ccd1f4d/mtimofiiv-unfaked-mitie-79558e16414485f53e4ef012a3a155719ca4810d/node_modules/mitie/build'
       gyp ERR! build error
       gyp ERR! stack Error: `make` failed with exit code: 2
       gyp ERR! stack     at ChildProcess.onExit (/tmp/build_0e5e74929469690fdee982d39ccd1f4d/mtimofiiv-unfaked-mitie-79558e16414485f53e4ef012a3a155719ca4810d/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
       gyp ERR! stack     at emitTwo (events.js:106:13)
       gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
       gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
       gyp ERR! System Linux 3.13.0-123-generic
       gyp ERR! command "/tmp/build_0e5e74929469690fdee982d39ccd1f4d/mtimofiiv-unfaked-mitie-79558e16414485f53e4ef012a3a155719ca4810d/.heroku/node/bin/node" "/tmp/build_0e5e74929469690fdee982d39ccd1f4d/mtimofiiv-unfaked-mitie-79558e16414485f53e4ef012a3a155719ca4810d/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
       gyp ERR! cwd /tmp/build_0e5e74929469690fdee982d39ccd1f4d/mtimofiiv-unfaked-mitie-79558e16414485f53e4ef012a3a155719ca4810d/node_modules/mitie
       gyp ERR! node -v v6.11.1
       gyp ERR! node-gyp -v v3.4.0
       gyp ERR! not ok
       info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
-----> Build failed

Any tips on how I can fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions