-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
Can't run spectral 4.1.0 when installed via npm #524
Comments
@johlo You can also try using the compiled binaries that can be found over here https://github.com/stoplightio/spectral/releases/tag/v4.1.0. |
@johlo |
Works now, thanks! |
Also the installer script 404 was due to the docs not being published after we merged v4.1.0 changes into master. The docs have been updated now, and soon they'll be auto-publishing so we don't have to remember. |
Describe the bug
I installed spectral 4.1.0 via npm, when running the
spectral
command it errors out.When I install 4.0.3 via npm the command works.
To Reproduce
$ npm install -g @stoplight/spectral
$ spectral
This gives an error:
Expected behavior
No error when running
Environment (remove any that are not applicable):
Additional context
FYI, I also tried to installed the binary by running the
curl
from your install instructions, but that doesn't work:The text was updated successfully, but these errors were encountered: