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

What am I missing? :-( #52

Closed roxannegerber closed 3 years ago

roxannegerber commented 3 years ago

Error: Cannot find module 'C:\Users\User...\generative-art-opensource-3\index.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15) at Function.Module._load (internal/modules/cjs/loader.js:745:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

I've tried: npm install npm install truffle -g npm install truffle -p yarn add all

Snurlz commented 3 years ago

Npm install -i canvas

stringcheeseslut commented 3 years ago

Npm install -i canvas

Where do you find this? I can't seem to find it online anywhere

roxannegerber commented 3 years ago

Npm install -i canvas

Where do you find this? I can't seem to find it online anywhere

Just type it into the terminal 😊

EddieKane commented 3 years ago

I have tried everything not even npm install -i canvas is working. im stuck and havent even started lmao

roxannegerber commented 3 years ago

What is the error? I also had to enable the writing of scripts by setting my execution policy to unrestricted (Windows) https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.1

On Tue, 21 Sep 2021, 03:48 EddieKane, @.***> wrote:

I have tried everything not even npm install -i canvas is working. im stuck and havent even started lmao

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/HashLips/generative-art-opensource/issues/52#issuecomment-923511225, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVQGGDUHUAXQCYR3BZV4L33UC7P6HANCNFSM5DQS5ZZA . 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.

EddieKane commented 3 years ago

PS C:\Users\Trapfather\Desktop\generative-art-opensource-main> npm install npm : The term 'npm' 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