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

Tried to run "npm run build" to continue my collection however i have a reading name error #15

Open
2 tasks done
wldnk opened this issue Oct 7, 2022 · 7 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@wldnk
Copy link

wldnk commented Oct 7, 2022

Checklist

Description

node index.js

/Users/riawalid/Documents/hashlips_art_engine-main(updated)/src/main.js:169
if (layerObj.name in layerConfigs) {
^

TypeError: Cannot read properties of undefined (reading 'name')
at layersSetup (/Users/riawalid/Documents/hashlips_art_engine-main(updated)/src/main.js:169:18)
at startCreating (/Users/riawalid/Documents/hashlips_art_engine-main(updated)/src/main.js:443:20)
at /Users/riawalid/Documents/hashlips_art_engine-main(updated)/index.js:8:3
at Object. (/Users/riawalid/Documents/hashlips_art_engine-main(updated)/index.js:9:3)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
riawalid@RiaWalids-MacBook-Air hashlips_art_engine-main(updated) %

Steps to reproduce

No response

Expected result

No response

Actual result

No response

Environment

OS Version (uname -a on unix, systeminfo on windows):
Node.js version (node -v):

@wldnk wldnk added the bug Something isn't working label Oct 7, 2022
@bolshoytoster
Copy link
Owner

bolshoytoster commented Oct 7, 2022

@wldnk could you paste your layersConfiguration here please (you might have just spelled layersOrder wrong).

@wldnk
Copy link
Author

wldnk commented Oct 7, 2022

I've adjusted the layer names now I get an error stating this:
var/folders/rh/3whc90sd0ljc2pvv65r0vnx40000gn/T/build-0efa6864.sh: line 1: 45359 Killed: 9 node index.js

however this is my layer config

// If you have selected Solana then the collection starts from 0 automatically
const layerConfigurations = [
{
growEditionSizeTo: 20,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Ancestor1" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 20 artworks
growEditionSizeTo: 40,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Ancestor2" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "105 Glasses Male" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Male" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 18 artworks
growEditionSizeTo: 58,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Ancestor3" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 20 artworks
growEditionSizeTo: 78,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Ancestor1" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "105 Glasses Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 20 artworks
growEditionSizeTo: 98,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Ancestor2" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Female" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 18 artworks
growEditionSizeTo: 116,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Ancestor3" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 20 artworks
growEditionSizeTo: 136,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Axe" },
{ name: "1 Base Layer Male Ancestor1" },
{ name: "2 Base Layer Hand Ancestor Axe" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 20 artworks
growEditionSizeTo: 156,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Vertical" },
{ name: "1 Base Layer Male Ancestor2" },
{ name: "2 Base Layer Hand Ancestor Vertical" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Male" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 18 artworks
growEditionSizeTo: 174,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Ancestor3" },
{ name: "2 Base Layer Hand Ancestor Cup" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "6 Offhand Cup" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 20 artworks
growEditionSizeTo: 194,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Axe" },
{ name: "1 Base Layer Female Ancestor1" },
{ name: "2 Base Layer Hand Ancestor Axe" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Male" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 20 artworks
growEditionSizeTo: 214,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Vertical" },
{ name: "1 Base Layer Female Ancestor2" },
{ name: "2 Base Layer Hand Ancestor Vertical" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Female" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 18 artworks
growEditionSizeTo: 232,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Ancestor3" },
{ name: "2 Base Layer Hand Ancestor Cup" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "6 Offhand Cup" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 50 artworks
growEditionSizeTo: 282,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Tanned" },
{ name: "7 Eye Trait Burqa" },
{ name: "3 Burqa" },
],
},
{
// Creates an additional 25 artworks
growEditionSizeTo: 307,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Black" },
{ name: "7 Eye Trait Burqa" },
{ name: "3 Burqa" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 25 artworks
growEditionSizeTo: 332,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female" },
{ name: "7 Eye Trait Burqa" },
{ name: "3 Burqa" },
{ name: "12 Vanity Pets Female" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 362,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female" },
{ name: "3 Tattoo" },
{ name: "4 Jetpack Female (no hands)" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 392,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Black" },
{ name: "3 Tattoo" },
{ name: "4 Jetpack Female Black (no hands)" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "105 Glasses Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 422,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Pale" },
{ name: "3 Tattoo" },
{ name: "4 Jetpack Female Pale (no hands)" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female (no eye trait)" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 452,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Tanned" },
{ name: "3 Tattoo" },
{ name: "4 Jetpack Female Tanned (no hands)" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 482,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male" },
{ name: "3 Tattoo" },
{ name: "4 Jetpack Male (no hands)" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 400 artworks
growEditionSizeTo: 882,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female" },
{ name: "3 Tattoo" },
{ name: "4 Backpack Female (no hands)" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 400 artworks
growEditionSizeTo: 1282,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Black" },
{ name: "3 Tattoo" },
{ name: "4 Backpack Female (no hands)" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 400 artworks
growEditionSizeTo: 1682,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Pale" },
{ name: "3 Tattoo" },
{ name: "4 Backpack Female (no hands)" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 400 artworks
growEditionSizeTo: 2082,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Tanned" },
{ name: "3 Tattoo" },
{ name: "4 Backpack Female (no hands)" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 400 artworks
growEditionSizeTo: 2482,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male" },
{ name: "3 Tattoo" },
{ name: "4 Backpack Male (no hands)" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 400 artworks
growEditionSizeTo: 2882,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Black" },
{ name: "3 Tattoo" },
{ name: "4 Backpack Male (no hands)" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 400 artworks
growEditionSizeTo: 3282,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Pale" },
{ name: "3 Tattoo" },
{ name: "4 Backpack Male (no hands)" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "105 Glasses Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 400 artworks
growEditionSizeTo: 3682,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Tanned" },
{ name: "3 Tattoo" },
{ name: "4 Backpack Male (no hands)" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 3712,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Tanned" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "6 Offhand (no hand required)" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 3742,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Black" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "6 Offhand (no hand required)" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 3772,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Pale" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "6 Offhand (no hand required)" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 3802,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Tanned" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "6 Offhand (no hand required)" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 3832,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Tanned" },
{ name: "2 Base Layer Hand Tanned Sword 2" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "6 Offhand Sword V2" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 3862,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Black" },
{ name: "2 Base Layer Hand Black Sword 2" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "6 Offhand Sword V2" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male (no eye trait)" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 3892,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Tanned" },
{ name: "2 Base Layer Hand Tanned Sword 2" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "6 Offhand Sword V2" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "105 Glasses Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 30 artworks
growEditionSizeTo: 3922,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Black" },
{ name: "2 Base Layer Hand Black Sword 2" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "6 Offhand Sword V2" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female (no eye trait)" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 4082,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male" },
{ name: "2 Base Layer Hand Cup" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "6 Offhand Cup" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 4242,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Tanned" },
{ name: "2 Base Layer Hand Tanned Cup" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male" },
{ name: "6 Offhand Cup" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "105 Glasses Male" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Male" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 4402,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Black" },
{ name: "2 Base Layer Hand Black Cup" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "6 Offhand Cup" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 4562,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Pale" },
{ name: "2 Base Layer Hand Pale Cup" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "6 Offhand Cup" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 4722,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female" },
{ name: "2 Base Layer Hand Cup" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "6 Offhand Cup" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 4882,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Tanned" },
{ name: "2 Base Layer Hand Tanned Cup" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female" },
{ name: "6 Offhand Cup" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Female" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 5042,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Black" },
{ name: "2 Base Layer Hand Black Cup" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "6 Offhand Cup" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 5202,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Pale" },
{ name: "2 Base Layer Hand Pale Cup" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "6 Offhand Cup" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 5362,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Vertical" },
{ name: "1 Base Layer Male" },
{ name: "2 Base Layer Hand Vertical" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 5522,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Vertical" },
{ name: "1 Base Layer Male Tanned" },
{ name: "2 Base Layer Hand Tanned Vertical" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Male" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 5682,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Vertical" },
{ name: "1 Base Layer Male Black" },
{ name: "2 Base Layer Hand Black Vertical" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },,
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 5842,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Vertical" },
{ name: "1 Base Layer Male Pale" },
{ name: "2 Base Layer Hand Pale Vertical" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 6002,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Vertical" },
{ name: "1 Base Layer Female" },
{ name: "2 Base Layer Hand Vertical" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 6162,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Vertical" },
{ name: "1 Base Layer Female Tanned" },
{ name: "2 Base Layer Hand Tanned Vertical" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Female" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 6322,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Vertical" },
{ name: "1 Base Layer Female Black" },
{ name: "2 Base Layer Hand Black Vertical" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },,
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 6482,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Vertical" },
{ name: "1 Base Layer Female Pale" },
{ name: "2 Base Layer Hand Pale Vertical" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 6642,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Axe" },
{ name: "1 Base Layer Male" },
{ name: "2 Base Layer Hand Axe" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 6802,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Axe" },
{ name: "1 Base Layer Male Tanned" },
{ name: "2 Base Layer Hand Tanned Axe" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Male" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 6962,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Axe" },
{ name: "1 Base Layer Male Black" },
{ name: "2 Base Layer Hand Black Axe" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hat & Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 7122,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Axe" },
{ name: "1 Base Layer Male Pale" },
{ name: "2 Base Layer Hand Pale Axe" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 6642,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Axe" },
{ name: "1 Base Layer Female" },
{ name: "2 Base Layer Hand Axe" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 6802,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Axe" },
{ name: "1 Base Layer Female Tanned" },
{ name: "2 Base Layer Hand Tanned Axe" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Female" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 6962,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Axe" },
{ name: "1 Base Layer Female Black" },
{ name: "2 Base Layer Hand Black Axe" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hat & Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 160 artworks
growEditionSizeTo: 7122,
layersOrder: [
{ name: "0 Background" },
{ name: "0 Offhand Axe" },
{ name: "1 Base Layer Female Pale" },
{ name: "2 Base Layer Hand Pale Axe" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 150 artworks
growEditionSizeTo: 7272,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Male" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 150 artworks
growEditionSizeTo: 7422,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Tanned" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 150 artworks
growEditionSizeTo: 7572,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Black" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "8 Hair Male" },
{ name: "9 Eye Trait Male (above hair)" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 150 artworks
growEditionSizeTo: 7722,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Pale" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "8 Hat & Hair Male" },
{ name: "9 Eye Trait Male (above hair)" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 150 artworks
growEditionSizeTo: 7872,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "12 Vanity Pets Female" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 150 artworks
growEditionSizeTo: 8022,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Tanned" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 150 artworks
growEditionSizeTo: 8172,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Black" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "8 Hair Male" },
{ name: "9 Eye Trait Female (above hair)" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 150 artworks
growEditionSizeTo: 8322,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Pale" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "8 Hat & Hair Female" },
{ name: "9 Eye Trait Female (above hair)" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 70 artworks
growEditionSizeTo: 8392,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "6 Offhand Cards" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male (no eye trait)" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 70 artworks
growEditionSizeTo: 8462,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Tanned" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male (for neck trait)" },
{ name: "5 Neck Trait Male" },
{ name: "6 Offhand Cards" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 70 artworks
growEditionSizeTo: 8532,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Black" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male" },
{ name: "6 Offhand Cards" },
{ name: "8 Hair Male" },
{ name: "10 Mask Male" },
{ name: "105 Glasses Male" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 70 artworks
growEditionSizeTo: 8602,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Male Pale" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Male" },
{ name: "6 Offhand Cards" },
{ name: "7 Eye Trait Male" },
{ name: "8 Hair & Hat Male" },
{ name: "10 Mask Male" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 74 artworks
growEditionSizeTo: 8676,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "6 Offhand Cards" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 70 artworks
growEditionSizeTo: 8746,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Tanned" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female (for neck trait)" },
{ name: "5 Neck Trait Female" },
{ name: "6 Offhand Cards" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "105 Glasses Female" },
{ name: "11 Ear Trait" },
],
},
{
// Creates an additional 74 artworks
growEditionSizeTo: 8820,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Black" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female" },
{ name: "6 Offhand Cards" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
{ name: "13 Effects" },
],
},
{
// Creates an additional 68 artworks
growEditionSizeTo: 8888,
layersOrder: [
{ name: "0 Background" },
{ name: "1 Base Layer Female Pale" },
{ name: "3 Tattoo" },
{ name: "4 Clothing Female" },
{ name: "6 Offhand Cards" },
{ name: "7 Eye Trait Female" },
{ name: "8 Hair & Hat Female" },
{ name: "10 Mask Female" },
{ name: "11 Ear Trait" },
],
},
]

@bolshoytoster
Copy link
Owner

@wldnk what is the output of just running node index.js.

@wldnk
Copy link
Author

wldnk commented Oct 7, 2022

riawalid@RiaWalids-MacBook-Air hashlips_art_engine-main(updated) % node index.js
/Users/riawalid/Documents/hashlips_art_engine-main(updated)/src/main.js:169
if (layerObj.name in layerConfigs) {
^

TypeError: Cannot read properties of undefined (reading 'name')
at layersSetup (/Users/riawalid/Documents/hashlips_art_engine-main(updated)/src/main.js:169:18)
at startCreating (/Users/riawalid/Documents/hashlips_art_engine-main(updated)/src/main.js:443:20)
at /Users/riawalid/Documents/hashlips_art_engine-main(updated)/index.js:8:3
at Object. (/Users/riawalid/Documents/hashlips_art_engine-main(updated)/index.js:9:3)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
riawalid@RiaWalids-MacBook-Air hashlips_art_engine-main(updated) %

@wldnk
Copy link
Author

wldnk commented Oct 7, 2022

when i cut it at 5682, it begins generating. Whereas if i paste the rest, an error pops up.

@bolshoytoster
Copy link
Owner

@wldnk the issue is that there's an extra comma in the one with growEditionSizeTo: 6322,, just after { name: "5 Neck Trait Female" },.

If you remove that it shouild generate. I'm adding handling for this now.

@wldnk
Copy link
Author

wldnk commented Oct 9, 2022

perfect, should've checked it better, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants