ethereum / remix-project

Remix is a browser-based compiler and IDE that enables users to build Ethereum contracts with Solidity language and to debug transactions.
https://remix-ide.readthedocs.io
MIT License
2.36k stars 888 forks source link

Remix failed to fetch #3763

Open WilliamDjo opened 1 year ago

WilliamDjo commented 1 year ago

Why can't I push my code to github from the remix IDE? Whenever I try to push, it says "Error from IDE: failed to fetch". Same thing happens as well when I try to pull.

Screenshot 2023-06-06 at 2 46 10 pm
bunsenstraat commented 1 year ago

Hi, do you have your github token setup? And is it still valid? For private repositories you need a token that has access to write. Can you verify you have that setup?

WilliamDjo commented 1 year ago

Hi, do you have your github token setup? And is it still valid? For private repositories you need a token that has access to write. Can you verify you have that setup?

Yes I do have it setup and it is valid. Btw the repository I made is public. Screenshot 2023-06-08 at 2 11 20 pm

bunsenstraat commented 1 year ago

So are you able to clone it in remix but not push or pull or fetch?

bunsenstraat commented 1 year ago

Often the JavaScript console might provide more info on the error too.

WilliamDjo commented 1 year ago

So are you able to clone it in remix but not push or pull or fetch?

Yes

bunsenstraat commented 1 year ago

I have cloned https://github.com/WilliamDjo/COMP6452 and fetched, it worked. Didn't try to push yet. Is the remote listed as origin in the remotes section?

WilliamDjo commented 1 year ago

I have cloned https://github.com/WilliamDjo/COMP6452 and fetched, it worked. Didn't try to push yet. Is the remote listed as origin in the remotes section?

It's listed as main

WilliamDjo commented 1 year ago

Screenshot 2023-06-09 at 2 02 49 am

bunsenstraat commented 1 year ago

can you check the console and see what it says when you fetch or pull. Screenshot 2023-06-09 at 08 34 05

WilliamDjo commented 1 year ago

can you check the console and see what it says when you fetch or pull. Screenshot 2023-06-09 at 08 34 05 Screenshot 2023-06-09 at 5 01 39 pm

WilliamDjo commented 1 year ago

can you check the console and see what it says when you fetch or pull. Screenshot 2023-06-09 at 08 34 05

Do you know whats wrong? I still am getting the same error :(

bunsenstraat commented 1 year ago

It's all very weird... I will think about it.

bunsenstraat commented 1 year ago

I deployed a fix for the FETCH command. Can you try again please? It was a bug!