Error: Could not locate the bindings file.

851 views
Skip to first unread message

John G

unread,
Oct 9, 2017, 3:55:15 PM10/9/17
to Node-RED
Any advice on how to solve this issue?

I am running Node-RED on IBM Bluemix.

I installed node-red-nodes-cf-sqldb-dashdb version 0.2.24 from manage palette in the hamburger menu.  The node appears in my palette, but I see the following error in the debug tab when I click "Deploy" with the node in my flow:

Error: Could not locate the bindings file. Tried:
 → /home/vcap/app/.node-red/node_modules/ibm_db/build/odbc_bindings.node
 → /home/vcap/app/.node-red/node_modules/ibm_db/build/Debug/odbc_bindings.node
 → /home/vcap/app/.node-red/node_modules/ibm_db/build/Release/odbc_bindings.node
 → /home/vcap/app/.node-red/node_modules/ibm_db/out/Debug/odbc_bindings.node
 → /home/vcap/app/.node-red/node_modules/ibm_db/Debug/odbc_bindings.node
 → /home/vcap/app/.node-red/node_modules/ibm_db/out/Release/odbc_bindings.node
 → /home/vcap/app/.node-red/node_modules/ibm_db/Release/odbc_bindings.node
 → /home/vcap/app/.node-red/node_modules/ibm_db/build/default/odbc_bindings.node
 → /home/vcap/app/.node-red/node_modules/ibm_db/compiled/6.11.1/linux/x64/odbc_bindings.node

The above issue occurs when I am running Node-RED on IBM Bluemix for IBM Watson IoT Platform.  I have been able to successfully use node-red-nodes-cf-sqldb-dashdb when running Node-Red from my computer to write to and query from my DB2 on Cloud Database.

Thanks for the time!

John G

unread,
Oct 9, 2017, 8:16:23 PM10/9/17
to Node-RED
Just found a solution.  This YouTube video explained the process well.

https://www.youtube.com/watch?v=pivBEvFegVs

Edward Moulder

unread,
Nov 28, 2017, 9:21:53 AM11/28/17
to Node-RED
Hi John - I'm having the same issue and watched the video.  I understand that I can access the code on Bluemix but can you share exactly what you did to resolve the issue.

Thanks!

Ed Moulder

Edward Moulder

unread,
Nov 28, 2017, 10:32:22 AM11/28/17
to Node-RED
John - Got it.  Went into package.json and added the dependency for the dashdb nodes.  Excellent!

Ed

John G

unread,
Nov 28, 2017, 3:11:32 PM11/28/17
to Node-RED
Hi Ed.  Glad to hear you have solved the issue!  What you mention in your latest reply is exactly what I did.
Reply all
Reply to author
Forward
0 new messages