stoplightio / spectral

A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI (v3.1, v3.0, and v2.0), Arazzo v1.0, as well as AsyncAPI v2.x.
https://stoplight.io/spectral
Apache License 2.0
2.51k stars 240 forks source link

Unable to run spectral on mac #2412

Closed apurva-1 closed 1 year ago

apurva-1 commented 1 year ago

For support questions, please use the Stoplight Discord Community. This repository's issues are reserved for feature requests and bug reports. If you are unsure if you are experiencing a bug, our Discord is a great place to start.

Please delete this section, any any sections below that you don't use, before creating the issue.

Describe the bug Unable to lint files using Spectral 5.6.0 and Latest 6.x version. Getting Error

To Reproduce

  1. Given this OpenAPI/AsyncAPI document 'petstore.yaml'
  2. Run this CLI command 'spectral lint petstore.yaml'
  3. Getting Error (Spectral version 5.6.0 and 6.6.0- Found 82 rules (66 enabled) No results with a severity of 'error' or higher found!

Expected behavior Get a list of Error and Warnings for the YAML file.

Actual Behaviour - Found 82 rules (66 enabled) No results with a severity of 'error' or higher found!

Screenshots If applicable, add screenshots to help explain your problem.

Environment (remove any that are not applicable):

Additional context Add any other context about the problem here.

P0lip commented 1 year ago

Could you please contact us on Stoplight Discord Community and provide the ruleset you are trying to use? We'll get it from there.