remark-lint icon indicating copy to clipboard operation
remark-lint copied to clipboard

Error: Cannot find module `remark-preset-lint-recommended`

Open nvuillam opened this issue 2 months ago • 4 comments

Initial checklist

Affected packages and versions

v15.0.1

Link to runnable example

No response

Steps to reproduce

.remarkrc is the following

{
  "plugins": [
    "remark-preset-lint-recommended"
  ]
}

See MegaLinter failing job

https://github.com/oxsecurity/megalinter/actions/runs/8862094296/job/24334663734?pr=3516

It used to work in previous versions

Expected behavior

To work ^^

Actual behavior

The following error is triggered

Error: Cannot find module `remark-preset-lint-recommended`
at Function.<anonymous> (file:///node-deps/node_modules/unified-engine/lib/configuration.js:432:15)

Runtime

Node v17

Package manager

npm 8

OS

Linux

Build and bundle tools

Other (please specify in steps to reproduce)

nvuillam avatar Apr 27 '24 19:04 nvuillam