Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error not showing when json file creation of md files #43

Open
sarincm opened this issue Feb 7, 2020 · 0 comments
Open

error not showing when json file creation of md files #43

sarincm opened this issue Feb 7, 2020 · 0 comments

Comments

@sarincm
Copy link

sarincm commented Feb 7, 2020

Hi @clarketm
when i am creating json file for indexing based on md files.it is getting struck in between.but didnot display any errors

/node_modules/hugo-elasticsearch/lib/hes.js:187 throw _iteratorError; ^ YAMLException: end of the stream or a document separator is expected at line 7, column 1: ^ at generateError (/node_modules/js-yaml/lib/js-yaml/loader.js:167:10) at throwError (/node_modules/js-yaml/lib/js-yaml/loader.js:173:9) at readDocument (/node_modules/js-yaml/lib/js-yaml/loader.js:1539:5) at loadDocuments (/node_modules/js-yaml/lib/js-yaml/loader.js:1575:5) at load (/node_modules/js-yaml/lib/js-yaml/loader.js:1596:19) at Object.safeLoad (/node_modules/js-yaml/lib/js-yaml/loader.js:1618:10) at module.exports (/node_modules/gray-matter/lib/parse.js:12:17) at parseMatter (/node_modules/gray-matter/index.js:109:17) at matter (/node_modules/gray-matter/index.js:50:10) at Function.matter.read (/node_modules/gray-matter/index.js:180:16)

is there any way to show the md file name or line number which causing this error..i have 100s of md files so it is very hard to find which md file is corrupted or causing the error
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant