HashLips / generative-art-opensource

Create generative art by using the canvas api and node js, feel free to contribute to this repo with new ideas.
MIT License
1.36k stars 695 forks source link

Scandir ENOENT Possibly also common beginner issue #181

Open deltaforce99 opened 2 years ago

deltaforce99 commented 2 years ago

I installed Node JS first, with Chocolatey scripts Then visual studio code Then opened the art generator in visual studio code deleted the folders in "layers" folder then, put my folders into the ----> Layers folder

this is what I keep getting when commanding in the PowerShell terminal, "node index.js" I'm learning java script now on the side, but I guess I'm stuck on this image

orian3737 commented 2 years ago

you need to remove all "_" or "-" characters from your layers names so "3Mask" Instead of "3-Mask" on both the layers folders & the config.js file. dont forget to save your updates.

nftgreat commented 2 years ago

That didn’t work for me I’m getting the same message

omarvsworld commented 2 years ago

i am having the same error.

orian3737 commented 2 years ago

It’s super important that you spell everything exactly the same in your layers folder names and the config js file. And all punctuation is cleared out. Believe me triple check no differences at all if you remember let me know if this worked.

omarvsworld commented 2 years ago

@orian3737 its working now. i did not saved config.js file.