node-oracledb
node-oracledb copied to clipboard
How node-oracle can work in lambda?
- What versions are you using? 5.4.0
- Describe the problem
Could we have an official example to make oracle work in aws lambda? Right now I having some issues on the instant client in lambda layer? And it's telling me "DPI-1047: Cannot locate a 64-bit Oracle Client library: "/opt/oracle-instant-client/lib/libclntsh.so: file too short".
- Include a runnable Node.js script that shows the problem.
Hopefully a Lambda user will contribute that doc. Until then, search this repo for previous discussions. Also check out StackOverflow. There are various posts there for node-oracledb or the related cx_Oracle driver that may help.
I've used this to set it up for me: https://jimmdd.medium.com/the-complete-guide-to-use-node-oracledb-on-aws-lambda-using-serverless-framework-and-lambda-layers-52b374d6cfe7
Works pretty well.
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.