-
-
Notifications
You must be signed in to change notification settings - Fork 715
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
if(!metaData.file_url.includes('https://')) { #20
Comments
Im having same problem |
seems like some of your metadata doesn't have a file_url? Can you provide an example of a json file from the build folder? |
Yes its about that i have already checked. Thanks. I built my images and json files with old version of config.js. I updated my config.js with your latest version and I rebuild my NFTs and it fixed. Thanks a lot. |
{ |
Fixed it, Thank you |
I'm having the same issue TypeError: Cannot read properties of undefined (reading 'includes') - checked my config.js and it matches, and my JSON files have the File_url - here is an example "File_url": "ipfs://NewUriToReplace/1.png", any other suggestions on what to look at? it's odd that is says reading a property, but shouldn't it be a method? just an observation. when I use intellisense it doesn't show "includes" as an option after File_url. |
I have faced the same issue and found that Hashlibs now uses |
Hi All I solved this error, which I was getting when applying "includes" to a "!metaData.file_url.includes('https://'" value, by appending ".toString();" The .includes() API is part of the String and Array data type. So what the error is trying to tell you is that the value for variable value, e.g. an integer or json object, does not have the property .includes. |
Hi,
Thank you for the update! looking great.
I seem to be getting this error now:
if(!metaData.file_url.includes('https://')) {........... TypeError: Cannot read properties of undefined (reading 'includes')
I am not sure what I am doing wrong.
The text was updated successfully, but these errors were encountered: