The error says
✖ npm run lint:eslint:fix found some errors. Please fix them and try committing again. Browserslist: caniuse-lite is outdated. Please run next command
npm update
pre-commit: We've failed to pass the specified git pre-commit hooks as thelint:staged
pre-commit: hook returned an exit code (1). If you're feeling adventurous you can pre-commit: skip the git pre-commit hooks by adding the following flags to your commit: pre-commit: pre-commit: git commit -n (or --no-verify) pre-commit: pre-commit: This is ill-advised since the commit is broken.
This is what I see tried to run npm update but I see this now
npm WARN update-browserslist-db@1.0.11 requires a peer of browserslist@>= 4.21.0 but none is installed. You must install peer dependencies yourself.
I tried to fix it but still seeing these errors, can someone help me fixing this issue.