Comments (2)
@VinnyV88 The output of npm i
command under node_modules/ibm_db
directory displays the Make
error. make version is empty. Make
is required to compile native code and generate bindings file.
Please install make
in your system and make sure commands make --version
and gcc --version
both are working without any error. Then rerun the npm i
command under ibm_db
directory again. It should fix the issue.
We have clearly documented the requirement of make
and gcc for non-windows systems in the documentation of ibm_db as prerequisite here: https://github.com/ibmdb/node-ibm_db?tab=readme-ov-file#prerequisite
Thanks.
from node-ibm_db.
Thank you, @bimalkjha for the reply. I did go through the prerequisites and installed the required software.
I did end up resolving the issue, but I wanted to share the process I went through in case someone else runs into the same issue I was having.
To confirm, I tried to install Make again:
vinnyv88@ViViD-Laptop:~$ sudo apt install make
[sudo] password for vinnyv88:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
make is already the newest version (4.3-4.1build1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
But, the Make error was suspicious so I looked more into it. The make --version
command said I needed to run make init
. So I did and then make --version
returned 0.8.1
.
vinnyv88@ViViD-Laptop:~$ make --version
make ✖ ERR Missing Makefile / Bakefile
make ℹ info Run "make init" to generate a Makefile.
vinnyv88@ViViD-Laptop:~$ make init
make ℹ info Running default template in /home/vinnyv88
make ℹ info .npmignore -> ./.npmignore
make ℹ info .eslintignore -> ./.eslintignore
make ℹ info Makefile -> ./Makefile
make ℹ info package.json -> ./package.json
make ℹ info Build success in 14ms
vinnyv88@ViViD-Laptop:~$ make --version
0.8.1
That didn't match the 4.3-4.1build1
returned when I ran the make install
earlier. So, after more research, I found this article: https://askubuntu.com/questions/1146289/unable-to-run-makefile-targets-in-windows-subsystem-for-linux-ubuntu-18-04.
Apparently I had an NPM Make package installed which was blocking GNU Make from running. so I ran npm uninstall make -g
to remove the NPM package and everything worked from there.
Thanks again, have a great day!
from node-ibm_db.
Related Issues (20)
- Error: /node_modules/ibm_db/build/Release/odbc_bindings.node: ELF file's phentsize not the expected size HOT 4
- Unable to connect using TLS. Error - SQL30081N, Protocol Specific Error -414 HOT 2
- Providing extended client information HOT 4
- DB2 connection pool is unavailable after DB2 server restart HOT 1
- PDF content error happens after inserted PDF BLOB to DB2 table HOT 6
- insert data error HOT 2
- Bug Report_Getting " PrintDeps.exe Bad image" pop-ups while running tests from terminal using ibm_db package with Playwright with JavaScript HOT 8
- string returned after date type requested HOT 1
- Fetch multiple rows HOT 2
- adm-zip can it be moved to dev dependencies HOT 2
- queryResult deferred callback result changed with version 3.2.3 HOT 5
- Node ibm_db Installation Error with Python 3.12 HOT 2
- conn.query callback being fired before all queries are finished. (possibly) HOT 1
- Release v3.2.4 HOT 1
- Having trouble get a valid npm install in a GitLab CI Pipeline HOT 2
- libcrypto.so.1 error HOT 3
- Connection Pooling not working as expected .maxpool and settimeout having issue HOT 5
- I am tryingto install ibm_db in linux and getting error HOT 5
- GSKIT Error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ibm_db.