Commit failed - exit code 1 received, with output: ‘> running pre-commit hook: npm run precommit 已解决

solution:

Put directlypre-commitTo delete the file, enter the project.git folder-hooks-delete, and then submit the code again and it is ok.

Reference address: https://blog.csdn.net/m18633778874/article/details/87448059

Guess you like

Origin blog.csdn.net/m0_46442996/article/details/109688714