Skip to content
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

"./install-foundry-zksync" not working #472

Closed
2 tasks done
Chathura-Ahangama opened this issue Jul 12, 2024 · 20 comments
Closed
2 tasks done

"./install-foundry-zksync" not working #472

Chathura-Ahangama opened this issue Jul 12, 2024 · 20 comments

Comments

@Chathura-Ahangama
Copy link

Component

Other (please describe)

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (3ae4f50 2024-07-07T04:28:54.758287900Z)

What command(s) is the bug in?

./install-foundry-zksync

Operating System

Windows

Describe the bug

When I follow the instructions for quick install ,I cloned the repo and as the last command when i run "./install-foundry-zksync" it throws an error .Here it is

"...foundryup-zksync: installing foundry (version nightly, tag nightly)
foundryup-zksync: downloading latest forge, and cast
##################################################################################################################################################### 100.0%
Archive: /tmp/tmp.MohwuZYRfX/foundry-zksync.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /tmp/tmp.MohwuZYRfX/foundry-zksync.zip or
/tmp/tmp.MohwuZYRfX/foundry-zksync.zip.zip, and cannot find /tmp/tmp.MohwuZYRfX/foundry-zksync.zip.ZIP, period.
foundryup-zksync: command failed: unzip /tmp/tmp.MohwuZYRfX/foundry-zksync.zip -d /c/Users/chath/.foundry/bin"

@ronijaat
Copy link

Did you find any solutions?

@maikelordaz
Copy link

Is any solution for this? I've only managed to make it work in WSL

@PatrickAlphaC
Copy link

Are you all using "raw" windows? Or windows with WSL?

@ronijaat
Copy link

ronijaat commented Aug 6, 2024

Are you all using "raw" windows? Or windows with WSL?

windows with WSL

@Chathura-Ahangama
Copy link
Author

Windows with WSL

@maikelordaz
Copy link

Are you all using "raw" windows? Or windows with WSL?

For me works fine on WSL. But not on windows

@Chathura-Ahangama
Copy link
Author

Are you all using "raw" windows? Or windows with WSL?

For me works fine on WSL. But not on windows

By the time I log this issue,this error were thrown in both "raw" windows with gitbash and wsl.so I'll try back with wsl,if it works then

@Dday52
Copy link

Dday52 commented Aug 7, 2024

2024-08-07 05_07_33-ubuntu
How can i fix this

@ronijaat
Copy link

ronijaat commented Aug 7, 2024

2024-08-07 05_07_33-ubuntu How can i fix this

first install foundry in this project and do zksync stuff

@Dday52
Copy link

Dday52 commented Aug 7, 2024

2024-08-07 05_07_33-ubuntu How can i fix this

first install foundry in this project and do zksync stuff

i did,foundry installed without problem,then when i wanna install zksync this error appear

@Dday52
Copy link

Dday52 commented Aug 7, 2024

2024-08-07 16_29_38-foundry

@ronijaat
Copy link

ronijaat commented Aug 7, 2024

2024-08-07 16_29_38-foundry

I faced the same issue

Do this

  1. curl -L https://foundry.paradigm.xyz | bash
  2. foundryup
  3. ./install-foundry-zksync

@Dday52
Copy link

Dday52 commented Aug 7, 2024

2024-08-07 16_29_38-foundry

I faced the same issue

Do this

  1. curl -L https://foundry.paradigm.xyz | bash
  2. foundryup
  3. ./install-foundry-zksync

i updated ubuntu wsl to 22 and this error is fixed,i was ou wsl 20

@ronijaat
Copy link

ronijaat commented Aug 7, 2024

2024-08-07 16_29_38-foundry

I faced the same issue
Do this

  1. curl -L https://foundry.paradigm.xyz | bash
  2. foundryup
  3. ./install-foundry-zksync

i updated ubuntu wsl to 22 and this error is fixed,i was ou wsl 20

Great 👍🏻

@Karrq
Copy link
Contributor

Karrq commented Aug 7, 2024

Hi, as written in the official foundry documentation, neither PowerShell nor CMD are supported with foundryup.
We have not added further Windows support to this fork, thus we won't expect our foundryup-zksync to work either.

For future reference, we specified that our support for Windows is limited (#500).

@Chathura-Ahangama could you please confirm if you were able to succesfully install using WSL? And if so, could you close the issue? Thank you.

@maikelordaz
Copy link

Hi, as written in the official foundry documentation, neither PowerShell nor CMD are supported with foundryup.

We have not added further Windows support to this fork, thus we won't expect our foundryup-zksync to work either.

For future reference, we specified that our support for Windows is limited (#500).

@Chathura-Ahangama could you please confirm if you were able to succesfully install using WSL? And if so, could you close the issue? Thank you.

Yes, but on git bash foundry works perfect without the need of WSL

@Karrq
Copy link
Contributor

Karrq commented Aug 8, 2024

Yes, but on git bash foundry works perfect without the need of WSL

Were you able to install foundry-zksync on git bash, @maikelordaz ? Or have you encountered issues? Could you share what error are you getting with git bash? same as OP?

@maikelordaz
Copy link

Yes, but on git bash foundry works perfect without the need of WSL

Were you able to install foundry-zksync on git bash, @maikelordaz ? Or have you encountered issues? Could you share what error are you getting with git bash? same as OP?

Mine is a proble with windows, foundry works fine on git bash, but foundry-zksync I can only run it on wsl.
this is the output
image

@Chathura-Ahangama
Copy link
Author

@Karrq I still cannot install foundry zksync using git bash.But it works in wsl.
Zksync-issue

@ShadabImran07
Copy link

You said correctly working fine in wsl but having issue in git bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants