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

[v4] Failed to load plugin commitlint-plugin-function-rules #196

Closed
screendriver opened this issue Jul 15, 2021 · 1 comment · Fixed by #198
Closed

[v4] Failed to load plugin commitlint-plugin-function-rules #196

screendriver opened this issue Jul 15, 2021 · 1 comment · Fixed by #198

Comments

@screendriver
Copy link

Since the latest v4 release I'm getting

Failed to load plugin commitlint-plugin-function-rules.
Error: error running commitlint
Failed to load plugin commitlint-plugin-function-rules: Cannot find module 'commitlint-plugin-function-rules'
Require stack:
- /node_modules/@commitlint/load/lib/utils/load-plugin.js
- /node_modules/@commitlint/load/lib/load.js
Error: Failed to load plugin commitlint-plugin-function-rules: Cannot find module 'commitlint-plugin-function-rules'
Require stack:
- /node_modules/@commitlint/load/lib/utils/load-plugin.js
- /node_modules/@commitlint/load/lib/load.js
    at Object.loadPlugin [as default] (/node_modules/@commitlint/load/lib/utils/load-plugin.js:32:23)
    at /node_modules/@commitlint/load/lib/load.js:67:38
    at Array.forEach (<anonymous>)
    at load (/node_modules/@commitlint/load/lib/load.js:65:24)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async showLintResults (file:///src/action.js:132:7)

@wagoid
Copy link
Owner

wagoid commented Jul 17, 2021

Interesting, I wasn't officially supporting commitlint-plugin-function-rules. I had it only in devDependencies, probably there was a package in the dependencies field that depended on this plugin but stopped after an upgrade.

I'll add a PR officially supporting the plugin 👍

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

Successfully merging a pull request may close this issue.

2 participants