Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error "Can't remove headers after they are sent" #145

Closed
eduplessis opened this issue Mar 24, 2017 · 5 comments
Closed

error "Can't remove headers after they are sent" #145

eduplessis opened this issue Mar 24, 2017 · 5 comments

Comments

@eduplessis
Copy link

_http_outgoing.js:394
throw new Error('Can\'t remove headers after they are sent');
  ^
Error: Can't remove headers after they are sent
at ServerResponse.removeHeader (_http_outgoing.js:394:11)
at clearHeaders (C:\Users\edupl\AppData\Roaming\npm\node_modules\serve\node_modules\send\index.js:908:9)
at SendStream.error (C:\Users\edupl\AppData\Roaming\npm\node_modules\serve\node_modules\send\index.js:292:3)
at SendStream.headersAlreadySent (C:\Users\edupl\AppData\Roaming\npm\node_modules\serve\node_modules\send\index.js:404:8)
at SendStream.send (C:\Users\edupl\AppData\Roaming\npm\node_modules\serve\node_modules\send\index.js:625:10)
at onstat (C:\Users\edupl\AppData\Roaming\npm\node_modules\serve\node_modules\send\index.js:737:10)

@skiano
Copy link

skiano commented Mar 24, 2017

I just rolled back to version 5.0.4 and it fixed this for me

@eduplessis
Copy link
Author

ok ... thanks gonna try this

@leo
Copy link
Contributor

leo commented Mar 25, 2017

How did you get this error? What's your setup and how does the command look?

@skiano
Copy link

skiano commented Mar 28, 2017

@leo thanks!

@leo
Copy link
Contributor

leo commented Mar 28, 2017

🙏 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants