1. Error prompt:
husky> npm run -s precommit (node v8.11.3)
Running tasks for *.{js,
jsx } [started] eslint –fix [started]
eslint –fix [failed]
→
Running tasks for *.{js, jsx } [failed]
→
× “eslint –fix” found some errors. Please fix them and try committing again.
Two, the solution
git commit -m "remarks information" --no-verify
Read More:
- Commit failed – exit code 1 received, with output: ‘>running pre-commit hook: npm run precommit (Fixed)
- 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.
- Kubernetes reported an error: matchexpressions: [] v1. Labelselector requirement (NIL)}: field is immutable
- Yaml is installed, and the error YAMLLoadWarning is reported as soon as the code runs: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe.
- [Solved] GBase 8a V95 Replace Node Error: single vc mode does not support ‘–freenode’
- [Solved] error [email protected]: The engine “node” is incompatible with this module.
- Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0
- Node Kubelet Error: node “xxxxx“ not found [How to Solve]
- How to Solve Git Push Error: error: src refspec v3.3.04.1000 matches more than one
- [Solved] Failed to invoke @ExceptionHandler method is reported after adding @ControllerAdvice
- [Solved] OpenCV VideoWriter Error: FFMPEG: tag ‘MP4V‘ is not supported with codec id 12 and format mp4
- Vscode pylint reported an error of “no member”, but it is running normally
- Zeppelin reported an error. The JDK version is low
- [Solved] git Error: error: dst refspec v0.10.2 matches more than one
- [Solved] Nacos Start Error: failed to req API:127.0.0.1:8848/nacos/v1/ns/service/list. code:503 msg: server is DOWN now
- Docker Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate has expired or is not yet valid