Giter Site home page Giter Site logo

Comments (8)

ryuncoding avatar ryuncoding commented on June 19, 2024

Im having same problem

from create-10k-nft-collection.

codeSTACKr avatar codeSTACKr commented on June 19, 2024

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?

from create-10k-nft-collection.

ryuncoding avatar ryuncoding commented on June 19, 2024

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.

from create-10k-nft-collection.

craigbersiks avatar craigbersiks commented on June 19, 2024

{
"name": "MysteryOrb #1",
"description": "Orb Collection",
"image": "ipfs://NewUriToReplace/1.png",
"dna": "206e32739e05ba470d7d1a3897c44869d1a365ee",
"edition": 1,
"date": 1641313918556,
"attributes": [
{
"trait_type": "Background",
"value": "Marble Lab"
},
{
"trait_type": "Cloud",
"value": "Cloud"
},
{
"trait_type": "Shadow",
"value": "Here's Reddy"
},
{
"trait_type": "Orb",
"value": "Yellow Blue Spotty"
}
],
"compiler": "AfricanMystery"
}

from create-10k-nft-collection.

craigbersiks avatar craigbersiks commented on June 19, 2024

Fixed it, Thank you

from create-10k-nft-collection.

niveknonrev avatar niveknonrev commented on June 19, 2024

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.

from create-10k-nft-collection.

engmsaleh avatar engmsaleh commented on June 19, 2024

I have faced the same issue and found that Hashlibs now uses image instead of file_url in a function called addMetaData in main.js

from create-10k-nft-collection.

Denni007 avatar Denni007 commented on June 19, 2024

Hi All

I solved this error, which I was getting when applying "includes" to a "!metaData.file_url.includes('https://'" value, by appending ".toString();"
!metaData.file_url.toString().includes("https://")

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.

from create-10k-nft-collection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.