question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest binary version (4.2.0) doesn't work in MacOS

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nogatescommented, Nov 20, 2019

It’s working now! thanks @P0lip and @philsturgeon !

1reaction
philsturgeoncommented, Nov 20, 2019

Thanks for clearing that up nogates, makes a lot more sense 😄

What is the contents of openapi.yml?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found