Commit failed – exit code 1 received, with output: ‘> running pre-commit hook: npm run precommit
Solution:
delete the pre-commit file and go to the project.git folder — hooks — delete, and then commit the code again.
Reference to address: https://blog.csdn.net/m18633778874/article/details/87448059?Ops_request_misc = % 257 b % 2522 request 2522% % 255 fid % 253 a 2522% % 2522% % 2522160532515819724835827479% % 2522 SCM 252 c 253 a % 252220140713.130102334 PC % 255 fall. The 2522% % 257 d & amp; request_id=160532515819724835827479& biz_id=0& utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~rank_v28-1-87448059.pc_first_rank_v2_rank_v28& Utm_term = Commit + failed + + exit + code + 1 + re& SPM = 1018.2118.3001.4449
Read More:
- Error husky > pre-commit (node v10.16.3) is reported when git commit is submitted
- Solve the data transfer between vue irrelevant components error: this.$store.commit is not a function
- Git: How to Solve Error: Please commit your changes or stash them before you merge.
- Analysis of npm error ENOTFOUND npm ERR! network request to https://npm.***.com/*** failed and the role of the .npmrc file
- [Solved] Executing npm install error: npm ERR! code EINTEGRITY
- After SpringBoot starts, exit the console directly and display Process finished with exit code 1
- Springboot running shows application run failed [How to Solve]
- [Solved] IOS Error: Command MergeSwiftModule failed with a nonzero exit code
- mmdetection Error when running voc.py: KeyError: ‘NumClassCheckHook is already registered in hook‘
- npm install npm ERR code ERESOLVE [How to Solve]
- [Solved] This is probably not a problem with npm. There is likely additional logging output above.
- K8S Master Initialize Error: [ERROR CRI]: container runtime is not running: output: E0812
- [Solved] no identity found – Command CodeSign failed with a nonzero exit code
- [Solved] NPM run build package error: Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- NPM run dev Error Module build failed: Error: Cannot find module ‘node-sass’
- [Solved] – npm run dev Error: listen EADDRINUSE: address already in use :::8000(or 8080 etc.)
- [Solved] This usually happens because your environment has changed since running `npm install`
- How to Solve NPM run dev error: missing script:dev
- Vue Error: command failed: npm install –loglevel error –registry=https://registry.npm.taobao.org