【问题标题】:Check which module depends on other in node检查哪个模块依赖于节点中的其他模块
【发布时间】:2017-11-01 23:47:44
【问题描述】:

我暂时安装了最新的节点 LTS 版本(8.9.0)。 npm install 失败,因为此版本的节点不支持节点检查器,正如其维护者所述。

我希望检查哪些模块正在使用节点检查器,所以我可以删除/替换它们。

有什么建议吗?

【问题讨论】:

标签: node.js npm node-inspector


【解决方案1】:

跑步

npm ls node-inspector

在你的项目中会打印一个依赖树,使用 node-inspector 突出显示依赖项

https://docs.npmjs.com/cli/ls

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-01-23
    • 1970-01-01
    • 2023-01-28
    • 1970-01-01
    • 1970-01-01
    • 2012-04-01
    • 2019-09-30
    • 1970-01-01
    相关资源
    最近更新 更多