# Error installing DB2 node

**URL:** https://discourse.nodered.org/t/error-installing-db2-node/78438
**Category:** General
**Tags:** database
**Created:** [15 May 2023 14:29 UTC](https://discourse.nodered.org/t/error-installing-db2-node/78438 "2023-05-15T14:29:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jts450](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jts450](https://discourse.nodered.org/u/jts450)
#### Post date: [15 May 2023 14:29 UTC](https://discourse.nodered.org/t/error-installing-db2-node/78438/1 "2023-05-15T14:29:06Z")

</div>

I received an error installing this module. Any suggestions?  
Thank you,

> **[node-red-contrib-db2](https://flows.nodered.org/node/node-red-contrib-db2)**
>
> A Node-RED node to use a IBM DB2 database

369 error command failed  
370 error command C:\WINDOWS\system32\cmd.exe /d /s /c node installer/driverInstall.js  
371 error fs.js:47  
371 error } = primordials;

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [15 May 2023 15:33 UTC](https://discourse.nodered.org/t/error-installing-db2-node/78438/2 "2023-05-15T15:33:20Z")

</div>

That node hasn't been updated in over 7 years. I would normally suggest you contact the author but it seems he hasn't been active on GitHub for quite awhile. I would assume that the node has been abandoned and you should look for another solution.

---

<div class="post-metadata">

### Author: ![jts450](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jts450](https://discourse.nodered.org/u/jts450)
#### Post date: [17 May 2023 19:51 UTC](https://discourse.nodered.org/t/error-installing-db2-node/78438/3 "2023-05-17T19:51:33Z")

</div>

I successfully installed this node package on another PC about 6 months ago. I am using a different node.js version but that's about it.

I did successfully install this node package but when I deploy with a configured node in my flow it errors out and will not let me deploy my flow

> **[node-red-contrib-db2-fixed](https://flows.nodered.org/node/node-red-contrib-db2-fixed)**
>
> A Node-RED node to use a IBM DB2 database

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [18 May 2023 01:16 UTC](https://discourse.nodered.org/t/error-installing-db2-node/78438/4 "2023-05-18T01:16:47Z")

</div>

Once again, you need to contact the author of that Node. I do see it hasn't been updated in over 5 years...

---

<div class="post-metadata">

### Author: ![FormaServe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/formaserve/32/81362_2.png) [@FormaServe](https://discourse.nodered.org/u/FormaServe)
#### Post date: [16 July 2023 19:26 UTC](https://discourse.nodered.org/t/error-installing-db2-node/78438/5 "2023-07-16T19:26:07Z")

</div>

Can't you use the ODBC package to access DB2 instead? [https://github.com/markdirish/node-red-contrib-odbc](https://github.com/markdirish/node-red-contrib-odbc) If you need any help with that, let me know.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [14 September 2023 19:26 UTC](https://discourse.nodered.org/t/error-installing-db2-node/78438/6 "2023-09-14T19:26:49Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
