Skip to content

Failed to load c++ bson extension, using pure JS version #25

@jotadepicas

Description

@jotadepicas

Hi, I've installed the project following the provided instructions, however when I try to run it I get the following messages:

{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version

It seems this is due to a build error in this module: ./node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/builderror.log

In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:13:18: fatal error: util.h: No such file or directory
#include "util.h"
                 ^
compilation terminated.
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1

So it seems this depends on a missing header file util.h.

My versions are as follows:

  • node: v4.3.1
  • node-gyp: v3.3.0

Am I doing something wrong or is this an actual bug? Why the missing util.h file? Is this due to versions compatibility? Let me know if you need more info.

Thanks!

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