Netlify-cli installation failed due to envinfo dependency

  • Site name. Example: https://tgjg-serverless-test.netlify.app/
  • Issue: When installing netlify-cli an error is reported “npm error notarget No matching version found for envinfo@^7.21.0.”
  • Environment: Linux Mint 22.3, Node 22.13.0, NPM 10.9.2

I have confirmed version 7.21.0 of envinfo is available and the latest edition, last published 6 months.