Skip to content

Cannot find module '../build/Debug/nodegit' #506

Closed

Description

@airtonix
  1. npm install nodegit --save
  2. git = require 'nodegit'
  3. launched the script... results in :
Error: Cannot find module '../build/Debug/nodegit'
  at Function.Module._resolveFilename (module.js:338:15)
  at Function.Module._load (module.js:280:25)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object.<anonymous> (DIRNAME/node_modules/nodegit/lib/nodegit.js:12:12)

Activity

  1. tbranyen commented on Mar 23, 2015

    @tbranyen
    Member

    None of the information you posted is useful for debugging this issue. What operating system and architecture are you running, what version of Node?

  2. tbranyen commented on Mar 23, 2015

    @tbranyen
    Member

    Updated your comment to remove the non-useful bits.

  3. tomruggs commented on May 20, 2015

    @tomruggs
    Contributor

    In case others have this problem - I experienced this same issue when installing on ubuntu. It was fixed by updating gcc and g++ to 4.8. This other issue explains more - #493.

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