User bio
404 bio not found
Member since Jul 7, 2016
Posts:
Replies:
Certifications & Credly badges:
Shavkat has no Certifications & Credly badges yet.
Global Masters badges:
Shavkat has no Global Masters badges yet.
Followers:
Shavkat has no followers yet.
Following:
Shavkat has not followed anybody yet.
Hi Eduard!
Thank you for your response.
I still cannot make it work and have questions:
1) I am not sure which file to use as cache.node. The setting.js doesn't list my version of node.js ( which is V4.4.7 ):
// v0.8.x (x >= 2) cache082.node
// v0.10.x (x >= 0) cache0100.node
// v0.12.x (x >= 0) cache0120.node ({Caché | Ensemble} version 2015.2 and above)
Should I use "cache0120.node" in my case ? if not then where can I download cache.node for nodejs v4.4.7 ?
2) When I assume that cache0120.node is the right DLL file, rename it to "cache.node", place it in Cache instance's \bin directory and use the following settings in settings_local.js:
return {use: 1, ins_dir: 'C:/InterSystems/TryCache/', cn_dir: '', name: 'TryCache'};
I am getting the error:
C:\InterSystems\TryCache\dev\node.js\samples>node dir_sync.js
module.js:434
return process.dlopen(module, path._makeLong(filename));
^
Error: The specified procedure could not be found.
\\?\C:\InterSystems\TryCache\bin\cache.node
at Error (native)
at Object.Module._extensions..node (module.js:434:18)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\InterSystems\TryCache\dev\node.js\samples\dir_sync.js:66:15)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
which makes we think that "ins_dir" is not set correctly. The instruction in settings.js does not provide an example for Windows. Can you give me an example how to specify the path in case of Windows?
Thank you!