mattdesl / canvas-sketch

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

Error exporting with streaming #129

Closed RamiAwar closed 2 years ago

RamiAwar commented 2 years ago

On a Mac M1, node installed via homebrew, installed ffmpeg successfully with command provided.

Getting this:

/opt/homebrew/lib/node_modules/canvas-sketch-cli/src/middleware.js:189
            if (mimeType && mimeType !== currentStream.encoding) {
                                                       ^

TypeError: Cannot read properties of null (reading 'encoding')
    at /opt/homebrew/lib/node_modules/canvas-sketch-cli/src/middleware.js:189:56
    at /opt/homebrew/lib/node_modules/canvas-sketch-cli/node_modules/mkdirp/index.js:49:26
RamiAwar commented 2 years ago

Resolved on its own, somehow..