MichaPipo / Generative_Gif_Engine

A generative engine that takes various png layers on a sprite sheet format, combines them and then converts them into a .gif file
MIT License
57 stars 37 forks source link

error #6

Open GKans opened 2 years ago

GKans commented 2 years ago

Hello i follow the steps and if i write node index.js tell me this !!

PS C:\Users\pc\Desktop\Νέος φάκελος\Generative_Gif_Engine-main> node index.js C:\Users\pc\Desktop\Νέος φάκελος\Generative_Gif_Engine-main\src\config.js C:\Users\pc\Desktop\Νέος φάκελος\Generative_Gif_Engine-main\src\main.js:55 var dna = Number(_str.split(":").shift()); ^

TypeError: Cannot read properties of undefined (reading 'split') at cleanDna (C:\Users\pc\Desktop\Νέος φάκελος\Generative_Gif_Engine-main\src\main.js:55:25)
at C:\Users\pc\Desktop\Νέος φάκελος\Generative_Gif_Engine-main\src\main.js:152:22 at Array.find () at C:\Users\pc\Desktop\Νέος φάκελος\Generative_Gif_Engine-main\src\main.js:151:42 at Array.map () at constructLayerToDna (C:\Users\pc\Desktop\Νέος φάκελος\Generative_Gif_Engine-main\src\main.js:150:35) at startCreating (C:\Users\pc\Desktop\Νέος φάκελος\Generative_Gif_Engine-main\src\main.js:249:23) at C:\Users\pc\Desktop\Νέος φάκελος\Generative_Gif_Engine-main\index.js:13:3 at Object. (C:\Users\pc\Desktop\Νέος φάκελος\Generative_Gif_Engine-main\index.js:14:3) at Module._compile (node:internal/modules/cjs/loader:1101:14)