-
Notifications
You must be signed in to change notification settings - Fork 1
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
Installation on Zsh #3
Comments
The issue seems to be coming from here:
I am unsure what this guard is doing , but by commenting it out I successfully installed I'd be happy to put a PR for this, but maybe someone has a better insight in that guard condition? |
Hey! Thanks for letting me know. |
Yeah, I was going to push a PR for the documentation, the 'tutorial' does
not work either (wrong indexing of `argv`).
Also, running `zxb lse` is not enough, you have to do `zxb create lse`.
Might be related to the same issue.
Pretty neat project though, a very good idea.
…On Wed, Oct 26, 2022, 4:46 PM Nauris Pūķis ***@***.***> wrote:
Hey! Thanks for letting me know.
I haven't checked what's going on there yet. zx seems to have switched how
argv is handled a couple of times during the past few versions.
—
Reply to this email directly, view it on GitHub
<#3 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEHYZ4R63B6N5SMT4PHYAYTWFDHV7ANCNFSM6AAAAAAROUHUJA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thanks! Fixed the install issue: a58ca0f What OS are you running? |
Hm interesting, yes that's from Ubuntu. I can try to have a peek at it and
if I see anything I'll let you know
…On Wed, Oct 26, 2022, 5:22 PM Nauris Pūķis ***@***.***> wrote:
Thanks!
Fixed the install issue: a58ca0f
<a58ca0f>
What OS are you running? zxb lse works on my mac, but doesn't work on
Ubuntu, so I think something might be up there.
—
Reply to this email directly, view it on GitHub
<#3 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEHYZ4RUTEWCIRN5PHWZSXLWFDLZTANCNFSM6AAAAAAROUHUJA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Oh, Ubuntu isn't to blame, after all, reproduced on mac as well. Looking... |
It seems to be around line 63 on the main file. I'm just on my phone right now so hard to debug, you have a condition:
Probably another issue with the indexing of argv? |
Yes I can't test but I'd say But again, from my mobile so this is untested! |
Yeah, the indexes were off because zx changed that in v7, and I got confused along the way with my messy dev environment (I've got the git project symlinked and after testing updates forgot to re-link) I've updated zxb to v1.0.5 now. |
The installation does seem to work on a
zsh
.Steps to reproduce:
zsh
zx
zx https://raw.githubusercontent.com/pyronaur/zxb/main/src/inc/install.mjs
The installation seems to fail.
The text was updated successfully, but these errors were encountered: