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

Error: ReferenceError: Cannot access 'name' before initialization #1

Open
studentofcoding opened this issue Mar 14, 2022 · 0 comments

Comments

@studentofcoding
Copy link

Hello guys, so I've been following the structure and all details needed, but apparently this ReferenceError is always showing when running yarn createLayers

Error:  ReferenceError: Cannot access 'name' before initialization
    at checkFileNameErrors (/Users/gic_owner/Project/nft-generator_test/scripts/createLayers.js:69:37)
    at Array.map (<anonymous>)
    at main (/Users/gic_owner/Project/nft-generator_test/scripts/createLayers.js:89:8)

Here are the structure and 2 kinds naming of the files

  • With number

Screen Shot 2022-03-14 at 15 38 10

  • With alphabet

Screen Shot 2022-03-14 at 15 38 25

I'm wondering, is this error appearing because I use number for files name instead of pure alphabet?

Thanks @tylerbuchea

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

1 participant