You installed a peer outside the supported range. Install a compatible version or upgrade the plugin to one that supports your version.
Peer dep invalid means the installed version does not satisfy the peer range declared by the dependent package, risking runtime incompatibility.
Align the peer to the required range:
npm install react@"^16.0.0 || ^17.0.0" # example rangeUse a version of the plugin that supports your current peer:
npm install package-name@latestAfter adjusting versions:
rm -rf node_modules package-lock.json
npm installKeeping core libs and their plugins on the same major reduces peer-invalid churn. Overrides/--legacy-peer-deps can mask the warning but risk breakage.
npm error code ENOENT npm error syscall spawn git npm error path git npm error errno -4058 npm error enoent An unknown git error occurred
How to fix "spawn git ENOENT" in npm
npm error code E401 npm error Incorrect or missing password.
How to fix 'E401 Unable to authenticate' errors with npm private registries
npm notice access token expired or revoked. Please try logging in again.
Token has expired - npm authentication failure