Skip to content

test: Error: Cannot parse file .remarkrc #19334

@prog1dev

Description

@prog1dev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions