-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report #1006
Comments
@bimaljha Can you please let me know if you have any insight or any help is really appreciated? |
@nsanthoshkumar Problem that you see is:
We can see that before downloading clidriver, driverInstall.js file is trying to find the version of make by executing |
Thank you @bimalkjha for the reply, Below are the results of the testing Ran from the node.js test code below var os = require('os');
var silentInstallation = false;
function printMakeVersion() {
console.log("I am triggered");
var platform = os.platform();
if (platform != 'win32') {
try {
var makeVersion = execSync('make -v').toString();
makeVersion = makeVersion.split('\n')[0];
if( downloadProgress == 0 ) printMsg("make version =" + makeVersion);
} catch (e) {
printMsg("Unable to find 'make' in PATH. Installation may fail!");
}
}
}
function printMsg(msg) {
if (!silentInstallation) {
console.log(msg);
}
}
printMakeVersion(); I checked the pafth and added the following line to the path I edited the docker file and I tried running the make version on the docker. It also gets the same error as above. Please let me know if any of these helps . |
@nsanthoshkumar Your issue looks similar to https://stackoverflow.com/questions/43763494/make-command-not-found-in-docker-container
Thanks. |
@bimalkjha I don't think build-essential exists on the Redhat image. Also, the issue is happening only in the docker image creation process and the process is hanging at execSync. I changed it to print node version. It also hangs there. |
@nsanthoshkumar Update your dockerfile to run a command
If it fails, then you need to open issue in https://github.com/nodejs/node/issues mentioning that command |
@nsanthoshkumar Usually, we can find make as /usr/bin/make in the systems post installation. Since, it is at different location, node is unable to find it. you need to add /usr/local/opt/make/libexec/gnubin in PATH in docker script.
Please let us know if command |
@bimalkjha Thanks for the update and sorry for the delay I will try the following #1006 (comment) and update you. |
@nsanthoshkumar Any update? If command |
Please provide below information while opening an issue to understand your problem
db2level
command from Db2 database system: DB2 WarehousePlease provide below problem specific info:
=========================================
For Installation related issue
I am trying to deploy a node app using docker with the following information in the Dockerfile. The docker build used to work previously for versions 18 and below and I updated the following node versions to 20 and changed the python to 3 instead of 2.7
and it is currently hanging before downloading the driver file. Any help is really appreciated? Thank you.
I am using the following command to build the docker image
The text was updated successfully, but these errors were encountered: