-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy path.npmrc
More file actions
101 lines (63 loc) · 1.81 KB
/
Copy path.npmrc
File metadata and controls
101 lines (63 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# 自动生成的镜像配置 (by setup-mirror.mjs)
# 生成时间: 2026-06-07T08:50:30.745Z
# npm registry
registry=https://mirrors.huaweicloud.com/repository/npm/
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# 用户自定义配置
# npm registry
# sharp 二进制镜像
# better-sqlite3 二进制镜像
# puppeteer chromium 镜像
# 用户自定义配置
# npm registry
# sharp 二进制镜像
# better-sqlite3 二进制镜像
# puppeteer chromium 镜像
# 用户自定义配置
# npm registry
# sharp 二进制镜像
# better-sqlite3 二进制镜像
# puppeteer chromium 镜像
# 用户自定义配置
# npm registry
# sharp 二进制镜像
# better-sqlite3 二进制镜像
# puppeteer chromium 镜像
# 用户自定义配置
# npm registry
# sharp 二进制镜像
# better-sqlite3 二进制镜像
# puppeteer chromium 镜像
# 用户自定义配置
# npm registry
# sharp 二进制镜像
# better-sqlite3 二进制镜像
# puppeteer chromium 镜像
# 用户自定义配置
# 强制 pnpm 生成 npm 兼容的扁平 node_modules(避免 .pnpm/ 符号链接结构)。
# 原因:Electron 打包后 backend 以 ELECTRON_RUN_AS_NODE 模式从 resources/app/ 下运行,
# 通过 extraResources 拷贝的 node_modules 必须是扁平结构才能被 Node 的模块解析器正常向上查找;
# pnpm 的默认 isolated 链接器会让传递依赖丢失,导致 Cannot find module 报错。