table icon indicating copy to clipboard operation
table copied to clipboard

Update of ajv dependency to 6.0.0 with only minor semver upgrade

Open sallas opened this issue 7 years ago • 2 comments

eslint requires "table": ^4.0.1 which translates to 4.0.3 which requires avj ^6.0.1 eslint also requires "ajv": ^5.3.0

This causes a peer dependency issue.

sallas avatar Feb 26 '18 19:02 sallas

see: https://github.com/eslint/eslint/pull/10022

jokeyrhyme avatar Feb 27 '18 22:02 jokeyrhyme

Mmm that comment strikes at the heart of the issue but there is still a bit of confusion at that point in the discussion at where exactly this problem comes from. See this comment from the same thread. TLDR: this is in fact an issue with npm itself and can be safely ignored.

If you have having trouble with CLI builds try adding ajv to your optional dependencies, than run npm install. It's a work around - nothing inside ajv, table, or eslint will actually fail (since everything needed by the modules can be seen/found by them at runtime) - this solution really is just installing an optional module so that your CLI passes or you can get a bit more sleep at night.

GrayedFox avatar Feb 28 '18 06:02 GrayedFox