eslint icon indicating copy to clipboard operation
eslint copied to clipboard

Failed to load plugin 'unicorn'

Open Mfficiency opened this issue 3 years ago • 1 comments

Error message:

Error: Failed to load plugin 'unicorn' declared in '.eslintrc.js » @nuxtjs/eslint-config': Invalid version: "2.0.6.1"

It's the same issue as #165 but there was no response on how to solve it if you don't use semantic versioning.

Thank you for your time

Mfficiency avatar Oct 17 '22 13:10 Mfficiency

I was able to fix it temporarily by doing this.

$ npm i -D eslint-plugin-unicorn@42

refs. ・https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1851#issuecomment-1324815851  ・https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1851#issuecomment-1245901674

k-utsumi avatar Nov 29 '22 03:11 k-utsumi

This sounds more like a package hoisting issue from your package manager. \

Closing this to clean up. If this still occurs to you, feel free to create a new issue with reproductions. Thanks.

antfu avatar Mar 19 '24 13:03 antfu