adobe / helix-cli

Command-line tools for developing with AEM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simulator fails to serve pages with webm videos

trieloff opened this issue ยท comments

error: Failed to proxy Franklin request /assets/header-animation-lets-talk.webm: Cannot set headers after they are sent to the client
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/Users/[redacted]/.nvm/versions/node/v16.19.1/lib/node_modules/@adobe/helix-cli/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/Users/[redacted]/.nvm/versions/node/v16.19.1/lib/node_modules/@adobe/helix-cli/node_modules/express/lib/response.js:174:12)
    at HelixServer.handleProxyModeRequest (file:///Users/[redacted]/.nvm/versions/node/v16.19.1/lib/node_modules/@adobe/helix-cli/src/server/HelixServer.js:95:23)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Steps to recreate: (Local dev environment)
https://github.com/craft-tyler/ngc-poc/tree/webm-video-issue

We are seeing some console errors on our local dev environments..
When a webm video file loads on the frontend we are presented with an error in the cli console

image

๐ŸŽ‰ This issue has been resolved in version 16.0.8 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€