Hello! I got this error when creating a commit for...
# modules
s
Hello! I got this error when creating a commit for a module I'm working on. Does someone knows how to fix this?
Match meta.ymls in one of the subdirectories of modules/nf-core............................Failed
- hook id: check-jsonschema - exit code: 1 Error: schemafile could not be parsed as JSON SchemaParseError: /Users/asaru/Documents/DTU/MoNA/nf-core-modules/modules/modules/yaml-schema.json in "/Users/asaru/.cache/pre-commit/repo8upiqeyg/py_env-python3.12/lib/python3.12/site-packages/check_jsonschema/checker.py", line 53 >>> return self._schema_loader.get_validator( caused by FailedFileLoadError: Failed to parse /Users/asaru/Documents/DTU/MoNA/nf-core-modules/modules/modules/yaml-schema.json in "/Users/asaru/.cache/pre-commit/repo8upiqeyg/py_env-python3.12/lib/python3.12/site-packages/check_jsonschema/schema_loader/readers.py", line 27 >>> schema = callback() caused by JSONDecodeError: Expecting value: line 1 column 1 (char 0) in "/Users/asaru/.cache/pre-commit/repo8upiqeyg/py_env-python3.12/lib/python3.12/site-packages/check_jsonschema/parsers/__init__.py", line 92 >>> return loadfunc(data) caused by StopIteration: 0 in "/Users/asaru/.pyenv/versions/3.12.6/lib/python3.12/json/decoder.py", line 353 >>> obj, end = self.scan_once(s, idx) Thanks in advance!