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

Unhandled Runtime Error TypeError: Cannot read properties of undefined (reading 'length') #43

Open
HenryBernreuter opened this issue Mar 2, 2022 · 16 comments

Comments

@HenryBernreuter
Copy link

When trying to create an NFT I get this error.
nadar_no_joy

@thomas21-jquerry
Copy link

I also had the same issues . Its because fileUrl and url variables are not getting the values it is supposed to before you click the create nft button. So just wait a minute or two after the nft image is uploaded before you click the create nft button.

@skyairmj
Copy link

hi @thomas21-jquerry, did you get the code work with file uploading with ipfs-http-client?

I just followed the instruction, and it seem everything is fine, however, I encountered an error while uploading a file (#50 ).

Could you please give some idea on how to get ipfs file uploading work?

Thanks in advance

@Irene-123
Copy link

Even I'm not able to figure this issue out.

@Irene-123
Copy link

can somebody please help me out with the error mentioned above..I'm really trying to make this project run but the issue persists.
Things to note:

  1. I restarted everything and cloned again.
  2. Just changed the .secret file and added my Metamask private key. Do I have to add the test Metamask account(10000 Ethers one)
  3. I did with that account too.
  4. Niether I changed the network to kovan or any.
    Here's how the metamask account looks like,
    image
    And here's the error,

image

@YuanBoXie
Copy link

This is because the image doesn't get the ipfs hash. It may be caused by a network problem so that you can't visit Infrua website . You can use VPN to connect the infura gateway.

@hidekiriyuga
Copy link

i also have same issue after waiting for 2-3 min same issue @thomas21-jquerry @hexbo

@hidekiriyuga
Copy link

does i have to change built in infura id?

@dhruvv173
Copy link

facing the same issue, was anyone able to fix the error?

@r0ushann
Copy link

changing the infura id and redeploying the contracts, clearing the previous artifacts , solves this issue

@MochaOverChai
Copy link

changing the infura id and redeploying the contracts, clearing the previous artifacts , solves this issue

Facing the same issue rn. Can you elaboate the solution @r0ushann ?

@felipegerhardt
Copy link

changing the infura id and redeploying the contracts, clearing the previous artifacts , solves this issue

It did not work. Any ideas?

@dhruvv173
Copy link

did anyone find a solution to this?

@ghost
Copy link

ghost commented May 4, 2023

did anyone solve this solution?

@dhruvv173
Copy link

did anyone solve this solution?

Check this PR if it helps. Infura changed their terms and this is an old project. Let me Know if you have any issues.

@ghost
Copy link

ghost commented May 5, 2023

did anyone solve this solution?

Check this PR if it helps. Infura changed their terms and this is an old project. Let me Know if you have any issues.

Bro i have an error: Application error: a client-side exception has occurred (see the browser console for more information).
whenever i click on manage key ipfs in infura. Can anyone solve this?

@dhruvv173
Copy link

did anyone solve this solution?

Check this PR if it helps. Infura changed their terms and this is an old project. Let me Know if you have any issues.

Bro i have an error: Application error: a client-side exception has occurred (see the browser console for more information). whenever i click on manage key ipfs in infura. Can anyone solve this?

can you show the code and error? Also, have you enabled private domain in infura? because otherwise you cannot use infura ipfs

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

10 participants