Closed Violet-XiaoWeiHuang closed 3 years ago
@Violet-XiaoWeiHuang The problem is the installation of XCode is not correct and node scripts are unable to detect it. Otherwise you should not get below errro:
Error: Command failed: node-gyp configure build --IS_DOWNLOADED=true --IBM_DB_HOME="$IBM_DB_HOME"
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
Execute /usr/bin/xcodebuild -version
from terminal to make sure xcode is installed. If it works, then restart the system and try npm install ibm_db
.
If still not working, then refer this page to troubleshoot the xcode installation issue. Thanks.
Thank you Bimal. I need to manually select Command Line Tool from Xcode>Preferences>Locations>Command Line Tool. And the link your provided helped a lot.
Hello,
I met the ISSUEs about _Failed at the ibmdb@2.7.4 install script to both
npm install
andnpm install ibm_db
.Here is my current working environment
Xcode also installed
npm install
log showed as followI refered [https://github.com/ibmdb/node-ibm_db/issues/775]() to set up path IBM_DB_HOME
export IBM_DB_HOME=/Users/violethuang/Documents/clidriver
I tried
npm install ibm_db
itselfPlease provide some guides to install ibm_db model. Thank you.
Violet