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

Update of ajv dependency to 6.0.0 with only minor semver upgrade #63

Open
sallas opened this issue Feb 26, 2018 · 2 comments
Open

Update of ajv dependency to 6.0.0 with only minor semver upgrade #63

sallas opened this issue Feb 26, 2018 · 2 comments

Comments

@sallas
Copy link

sallas commented Feb 26, 2018

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.

@jokeyrhyme
Copy link

see: eslint/eslint#10022

@GrayedFox
Copy link

GrayedFox commented Feb 28, 2018

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.

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

No branches or pull requests

3 participants