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

Peer dependency issue #273

Closed
wijkjh opened this issue May 24, 2023 · 1 comment
Closed

Peer dependency issue #273

wijkjh opened this issue May 24, 2023 · 1 comment

Comments

@wijkjh
Copy link

wijkjh commented May 24, 2023

What version of this package are you using?
17.0.0

What operating system, Node.js, and npm version?
Node.js 16.19, npm 9.3.1

What happened?
Upgrading to latest eslint-plugin-n 16.0.0 fails in an error:

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: my-package@1.10.3
npm WARN Found: eslint-plugin-n@15.7.0
npm WARN node_modules/eslint-plugin-n
npm WARN   peer eslint-plugin-n@"^15.0.0" from eslint-config-standard@17.0.0
npm WARN   node_modules/eslint-config-standard
npm WARN     dev eslint-config-standard@"^17.0.0" from the root project
npm WARN   1 more (the root project)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint-plugin-n@"^15.0.0" from eslint-config-standard@17.0.0
npm WARN node_modules/eslint-config-standard
npm WARN   dev eslint-config-standard@"^17.0.0" from the root project 

package.json has already been updated, but version in package.json has not been updated, so there is no no release on npm yet.

What did you expect to happen?
It to be installed.
Without a new release on npm (with a new version), the package will prevent updating to a newer eslint-plugin-n version.

The version in package.json should be increased to a higher version and released to npm registry.

Are you willing to submit a pull request to fix this bug?
If needed

jandppw added a commit to peopleware/openapi that referenced this issue May 28, 2023
cannot be updated yet, because of lagging eslint standard plugin eslint-plugin-n:
standard/eslint-config-standard#273
@voxpelli
Copy link
Member

Fixed by #271 in 17.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants