Node cannot get oracle service.
Oracle Package Installed Successfully
We will never find a rookie oracle module . Solve! ! !
Looking at your first picture, is oracledb compiled? Can connect.js and dbconfig.js of the official website run?
Connect.js will be moved completely. The username of dbconfig.js inside will be changed to the username/password of your oracle database. I am using XE version, and you will change localhost according to your oracle version.
Both files are placed on your project at the same level as app.js run nodeconnect.js.
The following is the output:
Can’t get the package, you try to copy oracledb.node of oracldb’s package inside from the build Release directory to the directory at the same level as build, and then run it again.