Closed rebron1900 closed 3 weeks ago
还有这段,node是能自动替换的吗?在遇到conda这个后我都不知道是不是修改成功了,还要动手去核实。
√ 命令 npm 存在
√ 命令 yarn 存在
x 命令 pnpm 不存在
测速 https://npmmirror.com/ ... 10.96 MByte/s
测速 https://mirrors.huaweicloud.com/ ... 7.38 MByte/s
测速 https://mirrors.zju.edu.cn/ ... 1.68 MByte/s
最快镜像站: npmmirror (阿里云赞助)
选中镜像站: npmmirror (npmmirror)
~~~~~~~~~~~
运行 npm config set registry https://registry.npmmirror.com
~~~~~~~~~~~
运行 yarn config set registry https://registry.npmmirror.com >nul 2>nul
--------------------------------
换源完成,感谢镜像提供方: npmmirror (阿里云赞助)
改成一下这种形式会不会好点
√ 命令 npm 存在
√ 命令 yarn 存在
x 命令 pnpm 不存在
测速 https://npmmirror.com/ ... 10.96 MByte/s
测速 https://mirrors.huaweicloud.com/ ... 7.38 MByte/s
测速 https://mirrors.zju.edu.cn/ ... 1.68 MByte/s
最快镜像站: npmmirror (阿里云赞助)
选中镜像站: npmmirror (npmmirror)
~~~~~~~~~~~
√ node可以进行配置文件自动更新
~~~~~~~~~~~
正在运行 npm config set registry https://registry.npmmirror.com
运行成功
~~~~~~~~~~~
正在运行 yarn config set registry https://registry.npmmirror.com >nul 2>nul
运行成功
--------------------------------
自动换源完成,感谢镜像提供方: npmmirror (阿里云赞助)
@rebron1900 感谢你的建议。
conda
这种我们开发人员自己不使用的,因此只是实现了而已,没有人测试。所以难免交互信息不完善或不清晰。我们会针对性的根据issue加强~~~~~
来分隔每次运行的命令情况,如果换源失败,所调用的程序会自己输出出来。上述 yarn
换源的时候用了 >nul
2>nul
,是为了让输出简洁一些。我将重新考虑是否让其输出到终端chsrc get
来检测换源情况基于你的建议,我打算:
自动换源成功
,而是 仍需手动操作
等信息我将考虑加入到下一次release中,感谢反馈!
希望能始终全自动化,
@rebron1900 已于v0.1.6
调整上述内容,请下载试用,若无问题请关闭该issue.
辛苦了,目前使用体验好了很多!
如下方日志,有点不太能理解,是需要用户手动操作吗?
改成这种形式的提示会不会好点