On macOS Big Sur,
with node v14.17.1,
when I run npm install
(for the package jq
)
then I get the error (during the installation of the dependent node_module contextify
):
node-gyp rebuild
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!
Note that I already installed the Xcode command-line tools. xcode-select --install
displays:
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
and no possible update appears in "Software Update".
Note: Unsure if that's related, but my Mac had an OS update earlier today...