remark-lint
remark-lint copied to clipboard
Error: Cannot find module `remark-preset-lint-recommended`
Initial checklist
- [X] I read the support docs
- [X] I read the contributing guide
- [X] I agree to follow the code of conduct
- [X] I searched issues and couldn’t find anything (or linked relevant results below)
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)