-
Notifications
You must be signed in to change notification settings - Fork 15
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
Error downloading ShellCheck on Mac with v2.1.0 #60
Comments
Try: rm -rf node_modules
npm install If does not work: https://gist.github.com/adrienjoly/e29a6e73fb7e701eefd80ff9bde9abeb I think the error is due to the decompression libraries that depend on native code. |
I hate Let me know what you think 😥 |
I tried overriding the lzma-native library back to 7.0.1 and it seems to have solved the issue for Mac M1. I don't know, however, if this could cause issues for other deployments.
How were you decompressing the tar files in v1.1.0? |
Wow thanks! |
V1 is only a shell script and a super simple js file :/ |
I've tested |
I apologize for the inconvenience, but as far as I can see, supporting Apple Silicon is not simple... |
Thanks @carlocorradini. I really appreciate your prompt responses. |
Guys... let me help you out. We (re)package all ShellCheck binaries in tar.gz format for use in the VSCode ShellCheck extension: https://github.com/vscode-shellcheck/shellcheck-binaries/releases It even includes a binary for Apple M1. I'd suggest downloading from there instead. |
I'm crying 😭 |
@felipecrs |
The Windows one is already in zip format, so we didn't bother. But I don't mind, if you want to add it to CI too, let's do it. |
@felipecrs |
Here's the script, please send a PR. It should be simple. I can merge it for you today yet. |
Did you start working on it already? If not, I can do it. |
Yup, working on it :) |
@felipecrs Done |
@rpastro Working on it |
@carlocorradini. I'll test it on the M1 as soon as the new version is released. Thanks a lot for your support. |
@carlocorradini v2.2.0 worked perfectly. Thanks again. |
@carlocorradini Unfortunately v2 is still not working on Mac.
Has anything changed in v2.1.0 compared to v1.1.0 on how the downloaded file is extracted?
The text was updated successfully, but these errors were encountered: