IBM / nodejs-idb-connector

A JavaScript (Node.js) library for communicating with Db2 for IBM i, with support for queries, procedures, and much more. Uses traditional callback-style syntax
MIT License
37 stars 23 forks source link

Example 1 fails #43

Closed abmusse closed 5 years ago

abmusse commented 5 years ago

Original report by Andy Youens (Bitbucket: formaserve, GitHub: Unknown).


Example 1 fails with error:

internal/modules/cjs/loader.js:583 throw err; ^

Error: Cannot find module '/node/node_modules/idb-connector/lib/binding/Release/node-v64-ibmi-ppc64/db2ia.node'

PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin

any help appreciated

abmusse commented 5 years ago

Thanks! Marking this one as resolved.

abmusse commented 5 years ago

Original comment by Andy Youens (Bitbucket: formaserve, GitHub: Unknown).


@musse

Spot on!

Thanks for your help - appreciated!

abmusse commented 5 years ago

@formaserve

Could you try to reinstall idb-connector by running,

npm remove idb-connector

npm install idb-connector