FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Failed to `require` on Ubuntu 12.04LTS · Issue #493 · nodegit/nodegit · GitHub

Repository navigation

Failed to require on Ubuntu 12.04LTS #493

Description

With node v0.12.0 and npm 2.5.1, npm install goes through fine:

\
> nodegit@0.3.3 install node_modules/nodegit
> node lifecycleScripts/install

[nodegit] Fetching binary from S3.
[nodegit] Completed installation successfully.

> nodegit@0.3.3 postinstall node_modules/nodegit
> node lifecycleScripts/clean

[nodegit] Cleaning up after ourselves.
[nodegit] Deleting unneeded files.
[nodegit] Finished deleting files.
[nodegit] Pruning devdependencies.
[nodegit] Cleaning unneeded dependencies.
npm WARN uninstall not installed in node_modules/nodegit/node_modules: "for-node-webkit"
npm WARN uninstall not installed in node_modules/nodegit/node_modules: "fs-extra"
unbuild which-native-nodish@1.1.1
unbuild node-pre-gyp@0.6.4
unbuild npm@2.7.1
[nodegit] Successfully pruned devdependencies.
[nodegit] Successfully cleaned unneeded dependencies.
[nodegit] Done cleaning, enjoy!

nodegit@0.3.3 node_modules/nodegit
├── promisify-node@0.1.5
├── nodegit-promise@1.0.0 (asap@1.0.0)
├── which-native-nodish@1.1.1 (find-parent-dir@0.3.0)
└── npm@2.7.1

But then

~$ node
> var git = require("nodegit")
Error: Cannot find module '../build/Debug/nodegit'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (node_modules/nodegit/lib/nodegit.js:12:12)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)

Activity

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


      Back | FazBrowse Home | New Git URL