Skip to content

Cannot install via npm #22

@ghost

Description

When trying to install with npm (on Ubuntu) the following error occurs:

[4/6] cxx: hashlib.cc -> build/Release/hashlib_2.o
../hashlib.cc:14:16: fatal error: ev.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
Waf: Leaving directory `/usr/local/lib/node_modules/hashlib/build'
Build failed: -> task failed (err #1):
{task: cxx hashlib.cc -> hashlib_2.o}

When copying the git clone to the "node_modules" directory and calling "node-waf configure build" this error does not occur but the build is incomplete. Calling "make install" after that gives the following error:

~/node/node_modules/hashlib$ make install
makefile:13: Warnung: Die Befehle für das Ziel »tests« werden überschrieben
makefile:5: Warnung: Alte Befehle für das Ziel »tests« werden ignoriert
cp: Aufruf von stat für „./build/default/hashlib.node“ nicht möglich: Datei oder Verzeichnis nicht gefunden
make: *** [install] Fehler 1

(=> call stat for "./build/default/hashlib.node" fails: no such file or directory)

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