Attempting to render with npx remotion render EvenABlankComposition leads to the following error.
The issue can be fixed by deleting the caches in node_modules/.cache/webpack.
After doing this the compositions render as normal once the cache rebuilds.
The settings that seem to trigger this is setting the output type to png and scale to 2x when rendering, other setting were left on their defaults (project was set up with the blank project template)
Bundling code ━━━━━━━╺━━━━━━━━━━ 41%C:\Users\Me\MarketingVideo\node_modules\.pnpm\webpack@5.105.0_esbuild@0.25.0\node_modules\webpack\lib\util\hash\wasm-hash.js:151
const length = data.length;
^
TypeError: Cannot read properties of undefined (reading 'length')
at WasmHash._updateWithBuffer (C:\Users\Me\MarketingVideo\node_modules\.pnpm\webpack@5.105.0_esbuild@0.25.0\node_modules\webpack\lib\util\hash\wasm-hash.js:151:23)
at WasmHash.update (C:\Users\Me\MarketingVideo\node_modules\.pnpm\webpack@5.105.0_esbuild@0.25.0\node_modules\webpack\lib\util\hash\wasm-hash.js:91:8)
at update (C:\Users\Me\MarketingVideo\node_modules\.pnpm\webpack@5.105.0_esbuild@0.25.0\node_modules\webpack\lib\util\hash\hash-digest.js:157:8)
at BatchedHash.update (C:\Users\Me\MarketingVideo\node_modules\.pnpm\webpack@5.105.0_esbuild@0.25.0\node_modules\webpack\lib\util\hash\BatchedHash.js:78:4)
at C:\Users\Me\MarketingVideo\node_modules\.pnpm\webpack@5.105.0_esbuild@0.25.0\node_modules\webpack\lib\FileSystemInfo.js:3993:11
at processQueue (C:\Users\Me\MarketingVideo\node_modules\.pnpm\webpack@5.105.0_esbuild@0.25.0\node_modules\webpack\lib\util\processAsyncTree.js:61:4)
at processTicksAndRejections (node:internal/process/task_queues:85:11)
at runNextTicks (node:internal/process/task_queues:69:3)
at process.processImmediate (node:internal/timers:453:9)
Node.js v22.15.0
Attempting to render with
npx remotion render EvenABlankCompositionleads to the following error.The issue can be fixed by deleting the caches in
node_modules/.cache/webpack.After doing this the compositions render as normal once the cache rebuilds.
The settings that seem to trigger this is setting the output type to png and scale to 2x when rendering, other setting were left on their defaults (project was set up with the blank project template)