Open prabhu opened 3 years ago
Seeing the below error while installing rush.js. Probably might need a package in the base image. Any help would be appreciated.
#21 516.9 > keytar@7.6.0 install /usr/local/lib/node_modules/@microsoft/rush/node_modules/keytar #21 516.9 > prebuild-install || npm run build #21 516.9 #21 521.6 prebuild-install WARN install No prebuilt binaries found (target=14.16.0 runtime=node arch=arm64 libc= platform=linux) #21 527.7 #21 527.7 > keytar@7.6.0 build /usr/local/lib/node_modules/@microsoft/rush/node_modules/keytar #21 527.7 > node-gyp rebuild #21 527.7 #21 540.7 Package libsecret-1 was not found in the pkg-config search path. #21 540.7 Perhaps you should add the directory containing `libsecret-1.pc' #21 540.7 to the PKG_CONFIG_PATH environment variable #21 540.7 Package 'libsecret-1', required by 'virtual:world', not found #21 540.7 gyp: Call to 'pkg-config --cflags libsecret-1' returned exit status 1 while in binding.gyp. while trying to load binding.gyp #21 540.8 gyp ERR! configure error #21 540.8 gyp ERR! stack Error: `gyp` failed with exit code: 1 #21 540.8 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) #21 540.8 gyp ERR! stack at ChildProcess.emit (events.js:315:20) #21 540.8 gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) #21 540.8 gyp ERR! System Linux 5.4.0-1043-azure #21 540.8 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" #21 540.8 gyp ERR! cwd /usr/local/lib/node_modules/@microsoft/rush/node_modules/keytar #21 540.8 gyp ERR! node -v v14.16.0 #21 540.8 gyp ERR! node-gyp -v v5.1.0 #21 540.8 gyp ERR! not ok #21 540.9 npm ERR! code ELIFECYCLE #21 541.0 npm ERR! errno 1 #21 541.0 npm ERR! keytar@7.6.0 build: `node-gyp rebuild` #21 541.0 npm ERR! Exit status 1 #21 541.0 npm ERR! #21 541.0 npm ERR! Failed at the keytar@7.6.0 build script. #21 541.0 npm ERR! This is probably not a problem with npm. There is likely additional logging output above. #21 541.0 #21 541.0 npm ERR! A complete log of this run can be found in: #21 541.1 npm ERR! /root/.npm/_logs/2021-04-20T11_51_24_786Z-debug.log
Seeing the below error while installing rush.js. Probably might need a package in the base image. Any help would be appreciated.