Closed darshithedpara closed 1 year ago
Please don't use screenshots since not everyone can read them, and we can't cut & paste from them.
Please don't use screenshots since not everyone can read them, and we can't cut & paste from them.
I am using Remote machine and I am not able to copy the source codes @cjbj
Hi @pvenkatraman , There is not lib folder in my installation, Can you please explain in detail ?
1] C:\Oracle\Client\19.3.0_64\bin and C:\Oracle\Client\19.3.0_64 is already exist in system env PATH 2] I have added NODE_PATH as you instructed
still getting same error @pvenkatraman
In your cmd window - do echo %PATH% and echo %NODE_PATH% and check whether these directories are included.
Yes It's there @pvenkatraman
NODE_PATH should not include oracledb.js. only the directory.
Yes I've tried that , still I am getting same error of module did not self register @pvenkatraman
I want to know what causing the issue, It is issue with node or node-oracledb binary ? or may be PATH env issue ?
Can you please help ? @pvenkatraman @cjbj
Checked Google? I can see a few hits with various suggestions for debugging. I still can't read screen shots properly but I see you have Instant Client and some full client installed. Maybe you have a clash?
Yes you're right I have downloaded instantClient folder manually and I have updated PATH variable but that also not worked so I am not using that instantClient anymore also removed all reference from PATH variable. @cjbj
@darshithedpara Are you still facing this issue?
Yes @sharadraju
@darshithedpara Have you tried installing other npm modules? Do they give the same error? You can try rebuilding npm in your machine as shown here.
Also, node-oracledb apps using Instant Client for Windows users will require the Visual Studio 2017 Redistributable as shown here. Please let us know if it is installed.
npm rebuild - I’ve tried no luck.
and In my machine I have these redistribution libs
Please advise should I need to install 2017 even if 2015-2022 is installed ? @sharadraju
This issue has been automatically marked as inactive because it has not been updated recently. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not been updated for a month.
1. What versions are you using?
2. Describe the problem.
npm i oracledb![image](https://user-images.githubusercontent.com/22654104/201596221-b8386c68-b6e7-453c-8ad2-e8c12099e4a6.png)
It is giving error when tried to getConnection of remote oracledb:
node oracle.mjs : below is the content of my source code.![image](https://user-images.githubusercontent.com/22654104/201596989-27fce3a7-9666-466f-95ee-5fa19d486f7c.png)
Error I am getting :![image](https://user-images.githubusercontent.com/22654104/201597077-d557cd1f-d034-41bf-a0db-f1c30618ac4e.png)
3. Are you installing into vanilla Node.js, or using something like Electron? Vanilla Nodejs v14.20.1
4. Show the directory listing where your Oracle Client libraries are installed (e.g. the Instant Client directory). Is it 64-bit or 32-bit?
Location : C:\Oracle\Client\19.3.0_64 "It is 64-bit"
PATH
environment variable (on Windows) orLD_LIBRARY_PATH
(on Linux) are set to? NOT SET