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.18k stars 4.3k forks source link

"no such file or directory open" and "'module_not_found'" PLZ HELP #916

Open Alansos opened 2 years ago

Alansos commented 2 years ago

npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\lopez\Downloads\Koby NFTS\hashlips_art_engine-main/package.json
npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\lopez\Downloads\Koby NFTS\hashlips_art_engine-main\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\lopez\AppData\Local\npm-cache_logs\2022-03-08T23_54_23_946Z-debug-0.lognode:internal/modules/cjs/loader:936 throw err; ^ 2. Error: Cannot find module 'C:\Users\lopez\Downloads\Koby NFTS\hashlips_art_engine-main\utils\update_info.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: []

bolshoytoster commented 2 years ago

@AlanSPK I think you're in the wrong folder, run Get-ChildItem -Directory to get the name, then run cd + name to go into it.

Alansos commented 2 years ago

@AlanSPK I think you're in the wrong folder, run Get-ChildItem -Directory to get the name, then run cd + name to go into it.

is the name the length name? This is what comes up - PS C:\Users\lopez\Downloads\Koby NFTS\hashlips_art_engine-main> Get-ChildItem -Directory

Directory: C:\Users\lopez\Downloads\Koby NFTS\hashlips_art_engine-main

Mode LastWriteTime Length Name


d----- 3/4/2022 5:37 PM hashlips_art_engine-main

bolshoytoster commented 2 years ago

@AlanSPK run cd hashlips_art_engine-main then you can run npm run generate.

enescaakir commented 2 years ago

@AlanSPK Can you paste here your package.json file path?

Alansos commented 2 years ago

what is a package.json file, i know what a json is but not package

Sent from my iPhone

On Mar 9, 2022, at 6:34 AM, Enes Çakır @.***> wrote:



@AlanSPKhttps://github.com/AlanSPK Can you paste here your package.json file path?

— Reply to this email directly, view it on GitHubhttps://github.com/HashLips/hashlips_art_engine/issues/916#issuecomment-1062876502, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYCH6V7SN26CDI66CN6STZ3U7CLELANCNFSM5QH7UE5A. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

enescaakir commented 2 years ago

It's includes your npm package depencies and more. File under of the logo.png in project folder.

image

bolshoytoster commented 2 years ago

@AlanSPK did you do what I said here?

Alansos commented 2 years ago

cd hashlips_art_engine-main

It says the same thing.

Alansos commented 2 years ago

It's includes your npm package depencies and more. File under of the logo.png in project folder.

image

{ "name": "hashlips_art_engine", "version": "1.1.1", "description": "HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.", "main": "index.js", "bin": "index.js", "pkg": { "assets": [ "layers//*", "node_modules/*/", "src//*" ] }, "scripts": { "build": "node index.js", "generate": "node index.js", "rarity": "node utils/rarity.js", "preview": "node utils/preview.js", "pixelate": "node utils/pixelate.js", "update_info": "node utils/update_info.js", "preview_gif": "node utils/preview_gif.js", "generate_metadata": "node utils/generate_metadata.js" }, "author": "Daniel Eugene Botha (HashLips)", "license": "MIT", "dependencies": { "canvas": "^2.8.0", "gif-encoder-2": "^1.0.5", "sha1": "^1.1.1" } }

bolshoytoster commented 2 years ago

@AlanSPK can you paste the error + the output of Get-ChildItem please.

enescaakir commented 2 years ago

It's includes your npm package depencies and more. File under of the logo.png in project folder. image

{ "name": "hashlips_art_engine", "version": "1.1.1", "description": "HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.", "main": "index.js", "bin": "index.js", "pkg": { "assets": [ "layers/*/", "nodemodules/**/", "src/**/_" ] }, "scripts": { "build": "node index.js", "generate": "node index.js", "rarity": "node utils/rarity.js", "preview": "node utils/preview.js", "pixelate": "node utils/pixelate.js", "update_info": "node utils/update_info.js", "preview_gif": "node utils/preview_gif.js", "generate_metadata": "node utils/generate_metadata.js" }, "author": "Daniel Eugene Botha (HashLips)", "license": "MIT", "dependencies": { "canvas": "^2.8.0", "gif-encoder-2": "^1.0.5", "sha1": "^1.1.1" } }

  • This is what it says.

I told you "paste here this files folder path" man. I think you're trying to run code in wrong path. Just check it.

shelly001 commented 2 years ago

For windows, you should change / to . main.py : line 6,7,92

image

bolshoytoster commented 2 years ago

@shelly001 once again, it doesn’t matter.

Alansos commented 2 years ago

It's includes your npm package depencies and more. File under of the logo.png in project folder. image

{ "name": "hashlips_art_engine", "version": "1.1.1", "description": "HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.", "main": "index.js", "bin": "index.js", "pkg": { "assets": [ "layers/*/", "nodemodules/**/", "src/**/_" ] }, "scripts": { "build": "node index.js", "generate": "node index.js", "rarity": "node utils/rarity.js", "preview": "node utils/preview.js", "pixelate": "node utils/pixelate.js", "update_info": "node utils/update_info.js", "preview_gif": "node utils/preview_gif.js", "generate_metadata": "node utils/generate_metadata.js" }, "author": "Daniel Eugene Botha (HashLips)", "license": "MIT", "dependencies": { "canvas": "^2.8.0", "gif-encoder-2": "^1.0.5", "sha1": "^1.1.1" } }

  • This is what it says.

I told you "paste here this files folder path" man. I think you're trying to run code in wrong path. Just check it.

what do you mean by "paste here this files folder path"? What is a file folder path

Alansos commented 2 years ago

@shelly001 once again, it doesn’t matter.

what doesn't?

Alansos commented 2 years ago

For windows, you should change / to . main.py : line 6,7,92

image

change it to the backwards slashes?

bolshoytoster commented 2 years ago

@AlanSPK the backslashes don't matter. Can you please send the output of Get-ChildItem.