[SOLVED] NJS-045 ORA-01804: Error while trying to retrieve text for error ORA-01804

This is a solution for an exception occurred when you try to run Node.js application required oracledb module.

Problem

Unable to run Node.js application because of the  ORA-01804  exception:

Cause

Oracle Database Instant Client is in different version than used Oracle Database – i.e. you use instatclient 12.2.0.1.0 and Oracle Databse XE 11g R2.

Solution

Use proper version of Oracle Database Instant Client.

  • For Oracle Database 12c: 12.2.0.1.0 or higher
  • For Oracle Database 11g XE R2: 11.2.0.4.0

You can download it from here:

 

I hope it was helpful to you. If you have any questions, feel free to ask me in comments below.

Leave a Reply

1 Comment on "[SOLVED] NJS-045 ORA-01804: Error while trying to retrieve text for error ORA-01804"

avatar
  Subscribe  
newest oldest most voted
Notify of
trackback

[…] install Oracle Database Instant Client libraries in proper version. If you use wrong version you can get the ORA-01804 exception. […]

Close Menu