
bun add 添加一个包或者 bun install 感觉很慢 比 npm install 要慢
e:\bun> bun add electron bun add v1.1.30 (7996d06b) installed [email protected] with binaries: - electron 67 packages installed [87.98s] 是我的错觉吗?
Windows 系统有设置 C:\Users\admin\.bunfig.toml 文件
registry = "https://npmreg.proxy.ustclug.org" 1 xieren58 2024-10-11 18:13:35 +08:00 翻墙就非常快... |
2 mouyase 2024-10-11 18:19:02 +08:00 我这用 bun 超级快,不知道是有什么问题 |
3 gucheen 2024-10-11 18:19:41 +08:00 electron 还需要下载 electron 二进制文件,同样需要代理加速 |
4 shintendo 2024-10-11 18:44:23 +08:00 electron chromedriver sass 这几个东西就是老大难吧,要另外配镜像 |
5 bigtear 2024-10-11 22:31:19 +08:00 是 electron 的锅,你安装 react native 的包一样的慢 |
6 FleetingSound 2024-10-12 15:42:11 +08:00 国外用很快,速度起飞 |
7 magicdawn 2024-10-14 17:32:10 +08:00 electron 包本身没有多大(Unpacked Size 1 MB), 是 scripts.install 会下载 electron binary |
8 wangtian2020 2024-10-19 14:44:07 +08:00 如果你用 npm 你会花 8798s 在安装 electron 上,除非你直接就知道正确答案全局 tun 模式代理下安装 electron bun 是默认自带国内用户安装镜像地址的 electron ,非常贴心 |