-
Notifications
You must be signed in to change notification settings - Fork 330
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
TypeError: The header content contains invalid characters #45
Comments
|
How about this issue? No fix? I met this issue too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Starting up http-server, serving ./app on port: 8000
Hit CTRL-C to stop the server
[Wed, 11 Apr 2018 08:44:37 GMT] "GET /" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36"
_http_outgoing.js:497
throw new TypeError('The header content contains invalid characters');
^
TypeError: The header content contains invalid characters
at validateHeader (_http_outgoing.js:497:11)
at ServerResponse.setHeader (_http_outgoing.js:501:3)
at module.exports.ResponseStream.(anonymous function) [as setHeader] (D:\FilesCache\gits\explorer\node_modules\union\lib\response-stream.js:86:34)
at serve (D:\FilesCache\gits\explorer\node_modules\ecstatic\lib\ecstatic.js:146:11)
at D:\FilesCache\gits\explorer\node_modules\ecstatic\lib\ecstatic.js:139:9
at FSReqWrap.oncomplete (fs.js:153:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:
http-server ./app -a localhost -p 8000 -c-1
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! D:\Program Files\nodejs\node_cache_logs\2018-04-11T08_44_38_000Z-debug.log
The text was updated successfully, but these errors were encountered: