sse-express
sse-express copied to clipboard
TypeError: Cannot read property 'writeHead' of undefined
Hi, I am having that issue when using sse-express inside an Express router. The issue says it's present at the node_modules folder. I tried deleting and creating that folder again, but still no luck. Any solution?
Ran into the same issue, resolved by installing the last version with npm install --save sse-express@next
Hi @PymZoR Fixed. However, the .onmesage
method is not working, only by the addEventListener( )
. Any ideas why?