0
votes

I am developing using mac

I want to create a node.js server to access the oracle database from the iPhone app.

The localhost has successfully accessed the Oracle database via the node.js server.

However, I was faced with an error in hosting it. (Hosting used firebase hosting.)

Error: Error occurred while parsing your function triggers. Error: NJS-045: cannot load the oracledb add-on binary for Node.js 9.8.0 (darwin, x64) Node.js require() error was: DPI-1047: 64-bit Oracle Client library cannot be loaded: "dlopen(libclntsh.dylib, 1): image not found". See https://oracle.github.io/odpi/doc/installation.html#macos for help Node.js require() mapped to /Users/jeongyeon/Atom/BestianServer/functions/node_modules/oracledb/build/Release/oracledb.node Node-oracledb installation instructions: https://oracle.github.io/node-oracledb/INSTALL.html

To use oracledb in node.js, oracle instantclient must have a symbolic linked(ln-s)
**On Windows, environment variables must be set.

I think that when hosted I get an error because I do not recognize the symbolic link or environment variable setting.

Has anyone succeeded in hosting oracledb on nodejs? I would appreciate a little help.

Thank you.

1
Can you host it on Linux instead? - Christopher Jones

1 Answers