You may encounter this error when connecting to an Oracle database:
Cannot locate a 64-bit Oracle Client library:
"The specified module could not be found".
for help Node-oracledb installation instructions:
You must have 64-bit Oracle client libraries in
your PATH environment variable.
To avoid this error, you must specify the path to the directory with the Oracle client in the Windows environment variables.
If you do not have the Oracle client on your machine, you can download it from here.
Next, you need to open "Edit the system environment variables". You can do this by starting to type the word "variable" in the search bar:
After that, add a
Path variable, which will contain the path to the directory with the Oracle client.
Note: the versions of Oracle client and Oracle server must be the same.