我也在stackoverflow上发布这个,因为这是由流星本身建议的:)
我将我的meteor项目升级到Meteor 1.3,在更新了所有正确的软件包后,我无法让meteor 1.3运行。然后我创建了一个新项目,仍然得到我在下面发布的这个错误。我还尝试在CMD中创建此处显示的简单todos示例https://www.meteor.com/tutorials/blaze/creating-an-app。结果相同。
Windows 7 btw :)此外,我还没有安装meteorhacks:npm或任何其他额外的软件包。
http.js:733
throw new TypeError('The header content contains invalid characters');
^
TypeError: The header content contains invalid characters
at ClientRequest.OutgoingMessage.setHeader (http.js:733:13)
at new ClientRequest (http.js:1429:14)
at Object.exports.request (http.js:1899:10)
at Array.stream [as 3] (C:\Users\Lightspeed\AppData\Local\.meteor\packages\meteor-tool\1.3.0_3\mt-os.windows.x86_32\dev_bundle\lib\node_modules\http-proxy\lib\http-proxy\passes\web-incoming.js:108:74)
at ProxyServer.<anonymous> (C:\Users\Lightspeed\AppData\Local\.meteor\packages\meteor-tool\1.3.0_3\mt-os.windows.x86_32\dev_bundle\lib\node_modules\http-proxy\lib\http-proxy\index.js:80:21)
at Proxy._tryHandleConnections (C:\tools\runners\run-proxy.js:182:20)
at Server.<anonymous> (C:\tools\runners\run-proxy.js:50:12)
at Server.emit (events.js:98:17)
at HTTPParser.parser.onIncoming (http.js:2164:12)
at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:152:23)
at Socket.socket.ondata (http.js:2022:22)
at TCP.onread (net.js:528:27)
Meteor正确启动并且在我实际导航到localhost:3000之前不会崩溃。页面立即出现错误(主机无法访问)和流星崩溃,并显示我的OP中显示的错误。
答案 0 :(得分:0)
此问题与特定的Windows 7版本有关。虽然我不再具体,但已经解决了。