Steps to reproduce:
- Install:
- Edit remark@12.0.1
- remark-cli@9.0.0
- remark-hugo-shortcodes@0.2.12
- configure remark-hugo-shortcodes as a plugin in .remarkrc:
{ "plugins": [ "preset-lint-consistent", "preset-lint-recommended", "preset-lint-markdown-style-guide", ["remark-lint-no-undefined-references", false], ["remark-frontmatter", ["yaml", "toml"]], "remark-hugo-shortcodes" ] }
- run
remark --output -- [filepath]
Produces the following error:
1:1 error Error: Cannot parse file .remarkrc
Error: Expected preset or plugin, not undefined, at node_modules/remark-hugo-shortcodes/dist/index.js
at FormattedError (/Users/jasonstirnaman/github/docs-v2/node_modules/fault/index.js:29:12)
at onparse (/Users/jasonstirnaman/github/docs-v2/node_modules/unified-engine/lib/find-up.js:152:13)
at done (/Users/jasonstirnaman/github/docs-v2/node_modules
/trough/wrap.js:55:16)
Steps to reproduce:
{ "plugins": [ "preset-lint-consistent", "preset-lint-recommended", "preset-lint-markdown-style-guide", ["remark-lint-no-undefined-references", false], ["remark-frontmatter", ["yaml", "toml"]], "remark-hugo-shortcodes" ] }remark --output -- [filepath]Produces the following error:
1:1 error Error: Cannot parse file
.remarkrcError: Expected preset or plugin, not undefined, at
node_modules/remark-hugo-shortcodes/dist/index.jsat FormattedError (/Users/jasonstirnaman/github/docs-v2/node_modules/fault/index.js:29:12)
at onparse (/Users/jasonstirnaman/github/docs-v2/node_modules/unified-engine/lib/find-up.js:152:13)
at done (/Users/jasonstirnaman/github/docs-v2/node_modules
/trough/wrap.js:55:16)