mattdesl / canvas-sketch

[beta] A framework for making generative artwork in JavaScript and the browser.
MIT License
4.97k stars 393 forks source link

Can't install FFMPEG Streaming #185

Closed caaaaaaaap closed 1 year ago

caaaaaaaap commented 1 year ago

Hello,

I've been trying to install ffmpeg but the same error appears:

$ npm install @ffmpeg-installer/ffmpeg --g npm ERR! code ENOENT npm ERR! syscall mkdir npm ERR! path C:\Users\\AppData\Roaming\npm npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, mkdir 'C:\Users\\AppData\Roaming\npm' 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 2023-06-18T14_14_43_964Z-debug-0.log can be found in: npm ERR! C:\Users\xx\AppData\Local\npm-cache_logs\2023-06-18T14_14_43_964Z-debug-0.log

i tried re-installing npm or changing the directory and nothing seems to work. I'm pretty new so i cant really figure out what's the next step. If anyone has a another option or a solution i would love to hear it. Thank you all in advance!

alvinometric commented 1 year ago

Hello, This is not a problem with canvas-sketch itself. If you're on macOS you can also try using brew install ffmpeg