DesertsP / Valine-Admin

🔥A simple comment system based on LeanCloud and Valine.
https://deserts.io/valine-admin-document/
MIT License
715 stars 471 forks source link

(node:33) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated #120

Closed BillScott1024 closed 4 years ago

BillScott1024 commented 4 years ago

(node:33) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated

mxy493 commented 4 years ago

遇到了同样的,不知道有没啥影响 (node:31) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated

RimuruW commented 4 years ago

也碰到了这个问题

DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
DejavuMoe commented 4 years ago

我通过修改package.json中的node版本为:11.x 似乎可以解决nodejs 12.x不再支持这个的警告

RimuruW commented 4 years ago

我通过修改package.json中的node版本为:11.x 似乎可以解决nodejs 12.x不再支持这个的警告

emmm,我觉得降级不是一个好的解决方法

DejavuMoe commented 4 years ago

我通过修改package.json中的node版本为:11.x 似乎可以解决nodejs 12.x不再支持这个的警告

emmm,我觉得降级不是一个好的解决方法

但是现在没这个警告了,评论试了下好像也没问题😂

DesertsP commented 4 years ago

Node version 12 depracated OutgoingMessage.prototype._headers, which is used in http-server. Issue is listed at: https://github.com/http-party/http-server/issues/537

目前没有影响。是上游包的问题。