Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署遇到的问题 #45

Open
tiwentichat opened this issue Dec 14, 2023 · 2 comments
Open

部署遇到的问题 #45

tiwentichat opened this issue Dec 14, 2023 · 2 comments

Comments

@tiwentichat
Copy link

zhongdamaopu-1.12.9\miniprogram>npm install
[#########.........] / reify:laf-client-sdk: sill tarball no local data for debug@https://registry.npm

进度走到一半就卡住了,卡了一会之后就出现下面这个。

zhongdamaopu-1.12.9\miniprogram>npm install
npm ERR! code ETIMEDOUT
npm ERR! syscall connect
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz failed, reason: connect ETIMEDOUT 104.16.29.34:443
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache_logs\2023-12-14T13_50_27_556Z-debug-0.log

用了一个给github加速的 dev side car (https://github.com/docmirror/dev-sidecar) ;
把这个给关了之后也还是一样的报错,救命啊大佬

@Zing22
Copy link
Collaborator

Zing22 commented Dec 14, 2023

网络问题,换热点或者先输一下这句命令

npm config set registry https://registry.npmmirror.com

@tiwentichat
Copy link
Author

tiwentichat commented Dec 14, 2023

网络问题,换热点或者先输一下这句命令

npm config set registry https://registry.npmmirror.com

哈喽,搞定了,换了个npm的源
参考了这个页面:https://zhuanlan.zhihu.com/p/659077633 换成了淘宝的

部署页完成!

感谢大佬们的开源!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants