Skip to content

nodegit and nw.js #557

Closed
Closed

Description

@olivierlesnicki

Following error happens when I try to access nodegit from a nw app:

[72684:0501/210709:ERROR:nw_shell.cc(335)] Error: Cannot find module '../build/Debug/nodegit'
    at Function.Module._resolveFilename (module.js:327:15)
    at Function.Module._load (module.js:264:25)
    at Module.require (module.js:356:17)
    at require (module.js:375:17)
    at Object.<anonymous> (/Users/pro/Workbench/Centrica/sandbox/liteci/node_modules/nodegit/lib/nodegit.js:12:12)
    at Module._compile (module.js:451:26)
    at Object.Module._extensions..js (module.js:469:10)
    at Module.load (module.js:346:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:356:17)
[72684:0501/210709:INFO:CONSOLE(329)] "Uncaught Error: Cannot find module '../build/Debug/nodegit'", source: module.js (329)

Activity

  1. maxclaus commented on May 2, 2015

    @maxclaus

    I have the same problem with electron. Even following the installation guide: http://www.nodegit.org/guides/install/electron/

  2. bso-intel commented on May 2, 2015

    @bso-intel

    I have the same problem.

  3. maxkorp commented on May 6, 2015

    @maxkorp
    Collaborator

    Electron builds are a bit tricky at the moment. Cant comment as to nw.js. We currently have a somewhat intelligent build system, which tries to determine what to build for, but I think that's going to have to go away soon possibly, in lieu of just using apm, and whatever nw.js comes up with/already has for a solution.

  4. tbranyen commented on May 11, 2015

    @tbranyen
    Member

    Closed as duplicate of #519

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions