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 693 forks source link

Cannot find module (generative-art-opensource) #178

Open pcc9swe opened 2 years ago

pcc9swe commented 2 years ago

I have tried everything from re-installing Visual Studio Code, Node.js, yarn watching every video on youtube and document on Visual Studio troubleshooting and soon every site on the web about this problem and i can´t solve it.

Whatever i do , nothing helps. What im i missing?

PS C:\Users\46725\Downloads\generative-art-opensource-4> node index.js node:internal/modules/cjs/loader:936 throw err; ^

Error: Cannot find module 'C:\Users\46725\Downloads\generative-art-opensource-4\index.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:81:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: []

pcc9swe commented 2 years ago

Hi! Thank you so mouch for the answer.

Well, i kinda found the problem (cant find module), that is when i try to install (npm install) it wount install the folder node_modules. No error messages no nothing only one package installed wich is the json lock file. It has gone so far that i have uninstalld everything, re-istalled win and everything, tryed different versions of node, different combinations of everythi g and all that, nothing helps.

Den lör 11 dec. 2021 05:07deltaforce99 @.***> skrev:

180 https://github.com/HashLips/generative-art-opensource/issues/180

same. help lol.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HashLips/generative-art-opensource/issues/178#issuecomment-991446642, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWW2HJO2D6LH656VUCFYLVTUQLE6HANCNFSM5JTWTMXA . 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.

orian3737 commented 2 years ago

Re-extract the generator from the zip folder or re-=clone the repository. Add your layers into the repository through your file manager. Then install all dependencies into your terminal Run, "npm install", "yarn install", verify yarn install with "yarn bootstrap", also "truffle install", then "node index.js"