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

test: Error: Cannot parse file .remarkrc #19334

Closed
prog1dev opened this issue Mar 13, 2018 · 4 comments
Closed

test: Error: Cannot parse file .remarkrc #19334

prog1dev opened this issue Mar 13, 2018 · 4 comments

Comments

@prog1dev
Copy link
Contributor

prog1dev commented Mar 13, 2018

Getting a bunch of these after sync with upstream. Error example:

tools/doc/README.md
  1:1  error  Error: Cannot parse file `.remarkrc`
Cannot parse script `tools/remark-preset-lint-node/index.js`
Error: Cannot find module 'remark-lint-maximum-line-length'
    at Function.Module._resolveFilename (module.js:564:15)
    at Function.Module._load (module.js:491:25)
    at Module.require (module.js:619:17)
    at require (internal/module.js:20:18)
    at Object.<anonymous> (/Users/martin/projects/node/tools/remark-preset-lint-node/index.js:53:4)
    at Module._compile (module.js:671:30)
    at Object.Module._extensions..js (module.js:682:10)
    at Module.load (module.js:582:32)
    at tryModuleLoad (module.js:522:12)
    at Function.Module._load (module.js:514:3)
    at FormattedError (/Users/martin/projects/node/tools/remark-cli/node_modules/fault/index.js:30:12)
    at done (/Users/martin/projects/node/tools/remark-cli/node_modules/unified-engine/lib/find-up.js:143:22)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:410:3)

Running command make tools/remark-cli/node_modules does not help.
Shouldnt this setup be handled on ./configure or make step?

  • Version: master
  • Platform: macOS High Sierra 10.13.3
  • Subsystem: test
@devsnek
Copy link
Member

devsnek commented Mar 13, 2018

make lint-md-build?

#18978 -> #18981

@prog1dev
Copy link
Contributor Author

Yay \o/
It works, thanks
And about my question?

@prog1dev
Copy link
Contributor Author

prog1dev commented Mar 13, 2018

Its not handled automatically because it requires internet access? Okay
Feel free to close this then
thanks a bunch

@devsnek devsnek closed this as completed Mar 13, 2018
@prog1dev
Copy link
Contributor Author

prog1dev commented Mar 13, 2018

Maybe its worth to mention in BUILDING.MD? Its a first thing I looked into

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

2 participants