What does a report mean that says "1 resolved, 1 installed"?
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript, webpack
调研方向
首先,跟踪 webpack-dev-server main.js 输出中针对 react-router-dom 的 DuplicatesPlugin 报告,并比较 resolved、installed 和 depended 的含义。检查列出的重复文件表示的是重复的包副本,还是已打包模块的重复,然后记录这一解释,并通过类似报告进行验证。
由索引模型根据 Issue 内容生成。
描述
I'm seeing the following (verbose) report for one of my projects, and I'm not sure how to interpret it:
react-router-dom (Found 1 resolved, 1 installed, 1 depended. Latest 5.1.2.)
5.1.2
path/to/my-project/~/react-router-dom
* Dependency graph
[email protected] -> react-router-dom@^5.0.1
* Duplicated files in main.js
react-router-dom/esm/react-router-dom.js (S, 9997)
My best guess would be that it means I don't actually have any duplicated packages (hence 1,1,1), but that somehow I'm consuming the same package twice in different ways. Is that possible? Could I somehow be consuming it once as CJS and once as ESM, and that's what Inspectpack is picking up on?
I'm using the DuplicatesPlugin in my dev Webpack configuration, so main.js is the output from webpack-dev-server. I see similar reports for other libraries, not just react-router-dom.
Many thanks (and thanks for putting this tool together!)
- 主要语言
- TypeScript
- 星标
- 590
- 派生
- 20
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FormidableLabs/inspectpack 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
FormidableLabs/inspectpack#181 · 1 条评论 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 35/100
FormidableLabs/inspectpack#180 · 1 条评论 ·
-
Allow CI to pass未关闭unverified
难度 3/5 1-2 天 新手友好度 35/100
FormidableLabs/inspectpack#179 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
FormidableLabs/inspectpack#168 · 1 条评论 ·
-
high priority unverified
难度 4/5 3-5 天 新手友好度 35/100
FormidableLabs/inspectpack#151 · 1 条评论 ·
查看 FormidableLabs/inspectpack 的全部 Issue
相似的 Issue
-
needs-triage
难度 2/5 1-3 小时 新手友好度 66/100
microsoft/playwright#43875 · 1 条评论 ·
维护者通常 1 天内回复
-
feature
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1 小时以内 新手友好度 88/100
adobe/react-spectrum#10909 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
Run the dependency drift check可能已有人在做 @spaceninja 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 72/100
cloudfour/lighthouse-parade#449 ·
维护者通常 1 天内回复