#dependencies
共 12 篇文章
解决 Node.js 报错 Cannot find module express 模块缺失
分析运行 Node.js 提示 Error: Cannot find module 'express' 的 node_modules 缺失与工作目录不一致排查修复方案。
解决 npm 报错 ERESOLVE could not resolve dependency 依赖冲突
分析 npm 7+ 严格对等依赖校验报 ERESOLVE 的根因,提供 --legacy-peer-deps 与依赖升级解决指南。
解决 Deno 报错 Could not resolve npm package 依赖包解析失败修复
排查 在 Deno 中使用 import ... from 'npm:...' 报 Could not resolve npm:package@version 或 module has no exports,分析 npm 规范符语法与私有包镜像源。
Rustc 编译提示 multiple matching crates for name 依赖多版本冲突修复
处理 Cargo 构建大型工程时 rustc 报告存在多个同名匹配 crate 符号冲突,提供 cargo tree 依赖冲突分析与 Cargo.toml patch 锁定指南。
解决 Android 报错 Duplicate class found in modules 类冲突修复
排查 Android Gradle 构建提示 Duplicate class found in modules 错误,分析 Guava/Support/AndroidX 依赖树冲突并通过 exclude 与 resolutionStrategy 解决。
解决 pnpm 报错 ERR_PNPM_PEER_DEP_ISSUES 对等依赖异常
分析 pnpm 严格依赖隔离机制下抛出对等依赖警告与错误的排查方法,提供 packageExtensions 与配置规避指南。
解决 Bazel 报错 Download failed: Connect timed out 外部仓库拉取超时修复
排查 Bazel 构建下载外部 rules(如 rules_go、rules_jvm_external)报 Connect timed out 或 403 rate limit,分析 网络代理与预拉取镜像源配置。
pip 报错 Could not find a version that satisfies the requirement 排查
安装 Python 依赖时常报 ERROR: Could not find a version that satisfies the requirement。本文解析 Python 版本不匹配、平台架构(x86/ARM) wheel 缺失及镜像源同步延迟定位全流程。
解决 Turborepo 报错 Module not found package hoisting 依赖提升丢失修复
排查 pnpm / yarn workspaces 结合 Turborepo 运行时特定包报错 Error: Cannot find module 或 peer dependencies missing,分析 符号链接与根提升策略。
CMake 构建报错 Imported target not found 或 missing configuration 修复
解决 CMake 多模块构建中 target_link_libraries 引用第三方包时提示 Imported target not found 或没有对应 Release/Debug 配置错误。
解决 Node.js 报错 ERR_MODULE_NOT_FOUND 包未找到异常
分析在 Node.js 中使用 ES 模块 import 时报 ERR_MODULE_NOT_FOUND Cannot find package 的路径扩展名缺失排查方案。
解决 Bazel 报错 Bzlmod module resolution conflict 依赖版本冲突修复
排查 Bazel 启用 Bzlmod (MODULE.bazel) 依赖管理后报 multiple versions of module 'protobuf' found 或 resolution conflict,分析 外部模块版本收敛与 override。


