Question
Dan Pahnke · Jun 2, 2020

Node.js fails to open database

Hi,

My attempt to run a node.js command fails at the open command with a "Error loading Cache Library: C:/InterSystems/Cache2018/bin/cache.dll; Error Code 126 (The specified module could not be found.)" result. I can't argue with the error message as the cache.dll file doesn't exist. Apparently I missed an installation step. Could somebody point out what it might be please.

Version: Node.js Adaptor for Cache: Version: 1.1.136a (ABI=48)


Cache for Windows (x86-64) 2018.1.4 (Build 504) Thu May 14 2020 14:31:34 EDT

I'm using cache610.node from InterSystems along with Nodejs.org release v6.10.3
 

Dan

00
0 2 92 2

Replies

You need to start with require("cache")  to have the basic access module.

you find it a cache.node   for various rather old versino0n of Node.

it is in %instaldir%\bin\ 

more details in   %instaldir%\ \dev\node.js\samples\installed_software.js


 and more ......