推荐使用 process.binding('http"/>
如何修复:(节点:12364)[DEP0111]弃用警告:不推荐使用 process.binding('http
ng serve -o
显示以下错误消息:
- Generating browser application bundles...(node:12364) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
然后终端显示:
\ Generating browser application bundles (phase: emitting)...
但是浏览器打不开,好像VSC死循环了
我该怎么做才能解决这个问题?
回答如下:版本兼容性可能是个问题。将节点 js 版本从 16.8.0 降级到 14.17.5 解决了我的问题。
更多推荐
如何修复:(节点:12364)[DEP0111]弃用警告:不推荐使用 process.binding('http
发布评论