serverless / serverless/examples

nodejs with ibm_db package

Open
#536 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
11.5k
Forks
4.4k
Avg merge
2h 55m
Merged PRs (30d)
3

Description

Hi,
Can you post example of nodejs with ibm_db package.

I am getting below error.
"errorType": "Error",
"errorMessage": "libnode.so.64: cannot open shared object file: No such file or directory",
"trace": [
"Error: libnode.so.64: cannot open shared object file: No such file or directory",
" at Object.Module._extensions..node (internal/modules/cjs/loader.js:1188:18)",
" at Module.load (internal/modules/cjs/loader.js:986:32)",
" at Function.Module._load (internal/modules/cjs/loader.js:879:14)",
" at Module.require (internal/modules/cjs/loader.js:1026:19)",
" at require (internal/modules/cjs/helpers.js:72:18)",
" at bindings (/var/task/node_modules/bindings/bindings.js:112:48)",
" at Object. (/var/task/node_modules/ibm_db/lib/odbc.js:31:31)",
" at Module._compile (internal/modules/cjs/loader.js:1138:30)",
" at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)",
" at Module.load (internal/modules/cjs/loader.js:986:32)"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the requested Node.js and ibm_db example and the stack trace entry point at node_modules/ibm_db/lib/odbc.js. Reproduce the missing libnode.so.64 error in the relevant Serverless example environment, then document a working setup and verify that the dependency loads without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
backend
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.