HashLips / hashlips_art_engine

HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.
MIT License
7.17k stars 4.3k forks source link

TypeError: Cannot read properties of undefined (reading 'path') #176

Open L3ming opened 2 years ago

L3ming commented 2 years ago

When i type: node index.js i get this

TypeError: Cannot read properties of undefined (reading 'path') at C:\Users\Redux Gamer\OneDrive\Bureaublad\hashlips_art_engine\src\main.js:190:61 at new Promise () at loadLayerImg (C:\Users\Redux Gamer\OneDrive\Bureaublad\hashlips_art_engine\src\main.js:189:10) at C:\Users\Redux Gamer\OneDrive\Bureaublad\hashlips_art_engine\src\main.js:368:31 at Array.forEach () at startCreating (C:\Users\Redux Gamer\OneDrive\Bureaublad\hashlips_art_engine\src\main.js:367:17) at C:\Users\Redux Gamer\OneDrive\Bureaublad\hashlips_art_engine\index.js:13:3 at Object. (C:\Users\Redux Gamer\OneDrive\Bureaublad\hashlips_art_engine\index.js:14:3) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)

AldrenDG commented 2 years ago

rename all your images inside the layers remove all "-"

Radomski13 commented 2 years ago

I get the same problem

wibletcodes commented 2 years ago

does anyone know how I can add a start edition from a certain number to this code?

TgCoff commented 2 years ago

rename all your images inside the layers remove all "-"

I did remove all the "-" and i still have the error any other solution ?

TypeError: Cannot read properties of undefined (reading 'path') at MY PATH\hashlips_art_engine-1.0.1_update\src\main.js:113:61 at new Promise () at loadLayerImg (MY PATH\hashlips_art_engine-1.0.1_update\hashlips_art_engine-1.0.1_update\src\main.js:112:10) at MY PATH\hashlips_art_engine-1.0.1_update\hashlips_art_engine-1.0.1_update\src\main.js:181:29 at Array.forEach () at startCreating (MY PATH\hashlips_art_engine-1.0.1_update\hashlips_art_engine-1.0.1_update\src\main.js:180:15) at MY PATH\hashlips_art_engine-1.0.1_update\hashlips_art_engine-1.0.1_update\index.js:5:3 at Object. (MY PATH\hashlips_art_engine-1.0.1_update\hashlips_art_engine-1.0.1_update\index.js:6:3)

fiqart commented 2 years ago

i get the same problem

philip-denys commented 2 years ago

I managed to solve it with the following link: https://www.imore.com/how-rename-multiple-files-once-mac

bmnvnt commented 2 years ago

rename all your images inside the layers remove all "-"

it works, thanks