Skip to content

Example code won't run on OSX #22

@rafriki

Description

@rafriki

Running the example code in the readme gives the following error:

$ node index.js
../sqlanywhere-dxm/index.js:12
  if (err) throw err;
           ^

Error: Code: -2004 Msg: Can't initialize DBCAPI

Have the following dependencies installed globally:

$ node -v && python --version && make --version && node-gyp --version
v7.1.0
Python 2.7.13
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0
v3.5.0

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