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

layer name can not contain dashes, please fix: #655

Open
MrrGnu opened this issue Feb 1, 2022 · 3 comments · May be fixed by #1508
Open

layer name can not contain dashes, please fix: #655

MrrGnu opened this issue Feb 1, 2022 · 3 comments · May be fixed by #1508

Comments

@MrrGnu
Copy link

MrrGnu commented Feb 1, 2022

hello, pls help me! i just cant get the generator to run, everytime i try running it tells me:

Error: layer name can not contain dashes, please fix: Untitled_Artwork-10.png
at /Users/timroes/Downloads/hashlips_art_engine-1.1.2_patch_v5/src/main.js:77:15
at Array.map ()
at getElements (/Users/timroes/Downloads/hashlips_art_engine-1.1.2_patch_v5/src/main.js:75:6)
at /Users/timroes/Downloads/hashlips_art_engine-1.1.2_patch_v5/src/main.js:92:15
at Array.map ()
at layersSetup (/Users/timroes/Downloads/hashlips_art_engine-1.1.2_patch_v5/src/main.js:90:30)
at startCreating (/Users/timroes/Downloads/hashlips_art_engine-1.1.2_patch_v5/src/main.js:356:20)
at /Users/timroes/Downloads/hashlips_art_engine-1.1.2_patch_v5/index.js:6:3
at Object. (/Users/timroes/Downloads/hashlips_art_engine-1.1.2_patch_v5/index.js:7:3)
at Module._compile (node:internal/modules/cjs/loader:1101:14)

@bolshoytoster
Copy link

@MrrGnu you can't have '-' in your file names, remove/replace them.

@Noodz-NFT
Copy link

This was partially fixed in later versions of hashlips. main.js has:
const DNA_DELIMITER = "-";

which you change to "#" or some other delimiter. However, in 1.1.2 there is still a bug. Line 76 of main.js
still has:
if (i.includes("-"))

instead of:
if (i.includes(DNA_DELIMITER))

@John-cel
Copy link

thanks

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

Successfully merging a pull request may close this issue.

4 participants