文章内容
2023/10/26 23:38:18,作 者: 黄兵
(node:12364) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. (Use `node --trace-deprecation ...` to show where the warning was created)
后台管理程序使用的是 Angular,Node.js 版本是 16.17.0,构建的时候出现了如下警告:
- 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)
解决方案:
我们可以将 Node.js 版本由 16.17.0 降至 14.21.3 版本解决这个问题。
更改 WebStrom 中的 Node.js 版本:
正差构建已经不会出现上面警告:
参考资料:
其它相关推荐:
评论列表