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
Error: ENOENT: no such file or directory, scandir 'C:\hashlips_art_engine-main/layers/Eyeball/' #370
Comments
It cannot find your eyeball layer , you must have it misspelled or in the wrong order. |
Getting the same Error I don't have an eyeball layer either. I've updated all the layer names to match the image folders and it's still trying to find an eyeball layer which doesn't exist |
Super easy fix...Click on the config.js file and click save. Worked for me 👍 |
Thank you all. |
I got it alright now :-) |
Im having the same issue. I've created NFTs collection before but I been stuck on this for a couple of days. errno: -2, What do I need to do? I somewhat understand that its missing the file but all I did was following the tutorial and deleted the default files and added my own. I have a backgrounds file but It can't find the original background. im using 1.10 art engine and im using node js 17 version. |
|
Try to check all the pictures you have in you Layers folder are on png format. If any is not then you have this error. |
Hello i have this problem, |
I don't know Im new to this too. |
saving before you run will work
Sent with [ProtonMail](https://protonmail.com/) Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On Monday, December 13th, 2021 at 12:13 PM, Zzzeps ***@***.***> wrote:
Getting the same Error
I don't have an eyeball layer either. I've updated all the layer names to match the image folders and it's still trying to find an eyeball layer which doesn't exist
—
You are receiving this because you commented.
Reply to this email directly, [view it on GitHub](#370 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AW4UKWM7K6EWRBN2ZXR7YHLUQYSSVANCNFSM5J4U5E5A).
Triage notifications on the go with GitHub Mobile for [iOS](https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or [Android](https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub).
|
hi! have you solved this problem ? I get the same thing (( If you understand how to fix it, please write |
@Sem-mem the names of your folders have to match the layer names in |
Of course, everything matches and the pictures are exactly png, but still. Now I'll check again, but it seems that's not the point |
save your file and all will work good..i wasted my 3 days for this error |
I have that problem I’ve done everything I read here but still same error |
@nftgreat can you paste the full error please. |
(node:7336) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: t rue }) instead (Use node:fs:1392 handleErrorFromBinding(ctx); ^ Error: ENOENT: no such file or directory, scandir 'C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update/layers/Background/'
at C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update\src\main.js:89:15
errno: -4058, syscall: 'scandir', code: 'ENOENT', path: 'C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update/layers/Background/' } PS C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update> |
Posted |
@nftgreat can you also paste the |
// If you have selected Solana then the collection starts from 0 automatically const layerConfigurations = [ {
}, ]; const shuffleLayerConfigurations = false; const debugLogs = false; const format = { width: 1500, height: 1500, smoothing: false, }; |
All layers folders are spelled exactly how you see there |
@nftgreat can you run the command |
PS C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update> C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update/layers/ C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update/layers/ : The term 'C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update/layers/' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1
|
Posted |
@nftgreat with the |
PS C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update> ls C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update/layers/
Mode LastWriteTime Length Name d----- 2/28/2022 8:35 AM Backround d----- 2/28/2022 8:35 AM numbers d----- 2/28/2022 8:35 AM sign -a---- 2/28/2022 8:28 AM 6148 .DS_Store |
@nftgreat you've spelled |
Ok I changed it spelled correctly now but still won’t work to generate |
@nftgreat does it give an error? |
Yes
Yes |
It says out of memory |
PS C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update> npm run generate
(node:3168) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead (Use C:\Users\ckali\Downloads\hashlips_art_engine-1.1.1_update\node_modules\canvas\lib\image.js:91 SetSource.call(img, src);
Error: out of memory
update\node_modules\canvas\lib\image.js:91:13)
|
@nftgreat you could try rebooting, and running it with just powershell (Visual Studio can use a lot of memory sometimes). |
They make it look so easy on the videos it’s complicated lmao |
could you solve the problem because i have exacly same error and been tryna fix but nothing works out(( |
@mya1266 can you paste your error here please. |
i am getting the same thing- errno -4058 |
please help me |
@Tdawg007 it can't find If that doesn't work, could you try opening an issue in the place you actually got the code from. |
Very Nice! |
mac@MACs-MacBook-Air hashlips_art_engine-1.1.2_patch_v6 2 % npm run generate
(node:70620) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead Error: ENOENT: no such file or directory, scandir '/Users/mac/Downloads/hashlips_art_engine-1.1.2_patch_v6 2/layers/backgorund/' Node.js v18.12.1 |
@ahmmaadd17 make sure you spell your layer names in your |
thanks |
can you help me how i can upload nfts on opensea without wasting time |
@ahmmaadd17 I have no idea, but you check out this video I found and skip to the uploading part, or find some other resource on the internet. |
PS C:\Users\Кирюша\Desktop\hashlips_art_engine-1.1.2_patch_v6> npm run build
(node:1688) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead Error: layer name can not contain dashes, please fix: Holo-kitty#3.png Node.js v18.16.0 |
hello everyone, please help with the code, all the pictures in png and layers are written correctly, I'm not a programmer, so you can use simple words |
@Mkirill123 the large amount of text in the error may be daunting, here's the important part:
|
PS C:\Users\Кирюша\Desktop\hashlips_art_engine-1.1.2_patch_v6> node index.js Error: ENOENT, No such file or directory 'C:\Users\Кирюша\Desktop\hashlips_art_engine-1.1.2_patch_v6/layers/Background/blue#8.png' |
@bolshoytoster i`ve tried |
@Mkirill123 the error is different now:
This is because one of out dependencies doesn't support non-ascii characters in paths. Try moving hashlips to somewhere like |
Yes!!! It's working, thank you very much |
Hi
I have been having this issue without being able to see how to resolve it.
I'm not technical at all so this has been very helpful.
But what I did,is changing the folders of my layers in my file explorer to match the ones I created in the LayersConfiguration in Visual Studio Code. So I don't have any folder called EyeBall and can't find why I got this error message.
Can anyone help, please ?
Error message:
Error: ENOENT: no such file or directory, scandir 'C:\hashlips_art_engine-main/layers/Eyeball/'
at Object.readdirSync (node:fs:1390:3)
at getElements (C:\hashlips_art_engine-main\src\main.js:73:6)
at C:\hashlips_art_engine-main\src\main.js:89:15
at Array.map ()
at layersSetup (C:\hashlips_art_engine-main\src\main.js:87:30)
at startCreating (C:\hashlips_art_engine-main\src\main.js:349:20)
at C:\hashlips_art_engine-main\index.js:6:3
at Object. (C:\hashlips_art_engine-main\index.js:7:3)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) {
errno: -4058,
syscall: 'scandir',
code: 'ENOENT',
path: 'C:\hashlips_art_engine-main/layers/Eyeball/'
The text was updated successfully, but these errors were encountered: