-
Notifications
You must be signed in to change notification settings - Fork 5
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
[ERR_PACKAGE_PATH_NOT_EXPORTED]: Failed to load plugin 'unicorn #93
Comments
Is it something related to esmodules maybe ? |
I get the exact same error with Node version v14.15.4 and Eslint on v.8.6.0 |
Also receiving this problem. |
This was fixed in a later version of unicorn. I had to pin the version in
|
Same if you are using
|
Linting failures required updates of their own: 1. Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Failed to load plugin 'unicorn' declared in '.eslintrc » eslint-config-oclif': Package subpath './lib/rules/no-warning-comments' is not defined by "exports" in /.../node_modules/eslint/package.json Fix: oclif/eslint-config-oclif#93 "overrides": { "eslint-plugin-unicorn": "^41.0.0", } 2. As a result of the override above Bug: (TypeError: Failed to load plugin '@typescript-eslint' declared in '.eslintrc.json': Class extends value undefined is not a constructor or null) Fix: eslint/eslint#15149 "overrides": { "eslint-plugin-unicorn": "^41.0.0", "@typescript-eslint/parser": "^5.0.0", "@typescript-eslint/eslint-plugin": "^5.0.0" },
Linting failures required updates of their own: 1. Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Failed to load plugin 'unicorn' declared in '.eslintrc » eslint-config-oclif': Package subpath './lib/rules/no-warning-comments' is not defined by "exports" in /.../node_modules/eslint/package.json Fix: oclif/eslint-config-oclif#93 "overrides": { "eslint-plugin-unicorn": "^41.0.0", } 2. As a result of the override above Bug: (TypeError: Failed to load plugin '@typescript-eslint' declared in '.eslintrc.json': Class extends value undefined is not a constructor or null) Fix: eslint/eslint#15149 "overrides": { "eslint-plugin-unicorn": "^41.0.0", "@typescript-eslint/parser": "^5.0.0", "@typescript-eslint/eslint-plugin": "^5.0.0" },
Going to close this since it seems like this has been resolved in eslint-plugin-unicorn |
hey hey, after making my annual upgrade of deps, i foung out that error when using
using node
16.13.1
Let me know, what else information you will need to take a look at that problem :)
The text was updated successfully, but these errors were encountered: