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
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\.png)
more details in %instaldir%\ \dev\node.js\samples\installed_software.js
and more ......
Use QEWD instead - for example, if you want to build REST APIs with Cache + Windows: https://github.com/robtweed/qewd-microservices-examples/blob/master/WINDOWS-IRIS-1.md