Latest binary version (4.2.0) doesn't work in MacOS
See original GitHub issueDescribe the bug
Latest binary version (4.20) doesn’t work in MacOS 10.14.6
To Reproduce
spectral ~/Downloads/spectral-macos lint openapi.yml
Error: @stoplight/path: Cannot parse /Users/nogates/Downloads/spectral-macos/openapi.yml because it is not a string
at parse (/snapshot/spectral/node_modules/@stoplight/path/index.cjs.js:1:6984)
at Object.isAbsolute (/snapshot/spectral/node_modules/@stoplight/path/index.cjs.js:1:7876)
at Object.<anonymous> (/snapshot/spectral/dist/cli/services/linter.js:40:65)
at Generator.next (<anonymous>)
at /snapshot/spectral/node_modules/tslib/tslib.js:110:75
at new Promise (<anonymous>)
at Object.__awaiter (/snapshot/spectral/node_modules/tslib/tslib.js:106:16)
at Object.lint (/snapshot/spectral/dist/cli/services/linter.js:36:20)
at Object.handler (/snapshot/spectral/dist/cli/commands/lint.js:86:25)
at Object.runCommand (/snapshot/spectral/node_modules/yargs/lib/command.js:235:26)
Also, version is not reported correctly
spectral ~/Downloads/spectral-macos --version
0.0.0
Previous version (4.1.1) works just fine
Tried both, using the script to pull the latest binary and manually downloaded it via GH releases
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:8 (5 by maintainers)
Top Results From Across the Web
R for macOS - R Project
This directory contains binaries for a base distribution and packages to run on macOS. Releases for old Mac OS X systems (through Mac...
Read more >R 4.0.2 + Mac + issue when installing packages from source
I tried to install the latest R version (4.0.2) on my MacBook Pro with macOS ... There is a binary version available but...
Read more >[Rd] R 4.2.0 is released
The build system rolled up R-4.2.0.tar.gz (codename "Vigorous ... to Tomas Kalibera for months of work on the Windows port for this release....
Read more >macOS update: universal binary now available - JAGS News
This means that you don't need to worry about which system you have when installing JAGS: the same binary will work with any...
Read more >Problem loading R packages on MacBook Pro
It looks like you've installed the R binary for Apple silicon arm64 (R-4.1.2-arm64.pkg). This makes everything complicated because Bioconductor ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s working now! thanks @P0lip and @philsturgeon !
Thanks for clearing that up nogates, makes a lot more sense 😄
What is the contents of openapi.yml?