https://linen.dev logo
create-shuttle-app not detecting protoc in my sys...
# help
h
I added the bin to environment variables and restarted my pc multiple times still no luck Windows 11 Pro 21H2 build 22000.1696
k
This looks like a bug in
create-shuttle-app
, I'll look into it. Thanks for reporting this.
h
if i can help with generating some logs or anything let me know
k
I published a release now that should hopefully fix it, so if you can try that and let me know that would be great. You may need to clear the npx cache to get the new version:
h
i cleared npx cache and now am getting the syntax of the command is incorrect
typing y still error out btw
k
Woops! I pushed another release now that should fix that
So version 0.1.11 should work, sorry about this, it's getting late 😅
h
I don't mind it at all ty for responding to me am sorry but now cargo shuttle is failing
I think i have the correct toolchain
k
Hmm, that's strange. Could you try installing
cargo-shuttle
normally? Instructions here:
Btw is this in powershell?
h
it should be cmd
now it worked after installing cargo-shuttle ty
g
Running linux commands in a CMD is probably why
h
i can't run dev this a new generated project didn't change anything
k
It works on my windows machine in git bash, powershell and cmd, but the path in their command looks malformed and I'm not sure why.
g
So you have some coreutils extension then?
k
I don't know 😅
I might have installed coreutils when I installed git for windows, yeah, that's probably it
I just thought it shipped with windows now 😂
g
Cause curl, mv, and rm are not windows native. tar is (to my surprise)
k
Curl also ships with windows now actually
g
win 11?
k
g
Oh, I misread my command output. Yeah, it's there 😄
Btw, I stumbled upon curl's creator on twitch today, he was just sitting there developing it 😄
k
Oh, cool, I didn't know he streamed
He went on rust for rustaceans btw:
g
anyways... what could this be 🤔
k
I am trying to replicate it now
h
i generated it with --ts option
k
I get the same error (on windows), not sure why yet 🤔
h
this unwrap is panicking maybe
k
create-shuttle-app
clones this example, and it worked on linux when I tested it earlier this week, so it may be a path thing... I'm not sure, I'll have to look into it tomorrow as it's quite late here. Sorry for the trouble @happy-furniture-6627, it looks like we didn't cover all the bases with our windows QA 😅
Btw I tested deploying now and that works, so I think it is indeed a windows path thing, but we should be able to fix that:
And by this example I meant to link this: 😂
h
no don't apologize please am happy to provide any feedback , i saw the article and got excited to try it out
k
Thanks!
h
i love the work you're doing i hope one day i ll be part of something like this
k
I found a fix for the issue, we might be able to do a release of
shuttle-static-folder
tomorrow that will get the fix to you, I'll get back to you on that.
PR:
I am also going to publish an update of
create-shuttle-app
that installs shuttle v0.13.0, and that should also work for you (but will not fix the static folder bug). Now it will run
cargo install cargo-shuttle
if there is no coreutils installed. We'll see if we can refine it to install from the binary distributions in the future.
h
i ll retry from scratch i should be able to remove cargo-shuttle and retry the whole process to make sure it will work correctly hopefully
k
Thanks, I'll let you know when I have released it
h
appreciate your hard work have lovely day ❤️
k
No worries! I published v0.1.12 of
create-shuttle-app
now
h
I ll try it now then
g
@kind-area-3810 I think you are still on the "'rm' is not Windows native" issue here
k
Oh, I forgot that we use that for the rust install as well 🤦
I'll try to fix this tomorrow as well, in the meantime running
rustup default 1.68
should fix it.
h
ok i ll try it tomorrow then when it's fixed
k
The rust install should now work in cmd, and I published a release for the static folder bug. So it should work now, but let me know if there are more issues 🙏
h
k
That's odd, I thought
rm
was the only coreutils command in there. If you copy that command and run it directly, what error do you get?
h
k
I was thinking of this command
h
hold on
@kind-area-3810 it did nothing at all when i rerun npx create-shuttle still asl me to get rust 1.68
k
Hm, so the command did nothing and gave no errors? 🤔
I'm a bit stumped then, but I'll see if I can look into this again before the next release. It works alright for your if you manually set rustup to 1.68, right?