Running `remark README.md` results in this error. #41

Closed
bengitscode opened this Issue Mar 29, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@bengitscode
Contributor

bengitscode commented Mar 29, 2017

README.md
  1:1  error  TypeError: Cannot read property 'use' of null
    at lint (/Users/Benjamski/.nvm/versions/node/v6.10.0/lib/node_modules/remark-lint/index.js:11:7)
    at Function.use (/Users/Benjamski/.nvm/versions/node/v6.10.0/lib/node_modules/remark/node_modules/unified/index.js:318:25)
    at /Users/Benjamski/.nvm/versions/node/v6.10.0/lib/node_modules/remark-cli/node_modules/unified-engine/lib/file-pipeline/configure.js:117:19
    at /Users/Benjamski/.nvm/versions/node/v6.10.0/lib/node_modules/remark-cli/node_modules/unified-engine/lib/configuration.js:444:7
    at Array.forEach (native)
    at /Users/Benjamski/.nvm/versions/node/v6.10.0/lib/node_modules/remark-cli/node_modules/unified-engine/lib/configuration.js:443:13
    at /Users/Benjamski/.nvm/versions/node/v6.10.0/lib/node_modules/remark-cli/node_modules/unified-engine/lib/configuration.js:327:5
    at /Users/Benjamski/.nvm/versions/node/v6.10.0/lib/node_modules/remark-cli/node_modules/vfile-find-up/index.js:135:9
    at FSReqWrap.oncomplete (fs.js:123:15)

✖ 1 error

I'm not sure what's causing this, but I wanted to open an issue in case I'm unable to resolve it before delivery.

@gaand

This comment has been minimized.

gaand commented Apr 1, 2017

There is an ongoing problem getting remark-lint to function properly for any repositorie.

@jordanallain

This comment has been minimized.

jordanallain commented Jun 13, 2017

This can probably be closed as it is a known problem with the package and not specific to this repo.

@jordanallain

This comment has been minimized.

jordanallain commented Aug 14, 2017

Mentioned in this section

  • remark README.md -u remark-lint -r ./.remarkrc
    • you may need to run npm install --global remark-cli remark-lint remark-html for this to work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment