zhongdamaopu
zhongdamaopu copied to clipboard
部署遇到的问题
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) ; 把这个给关了之后也还是一样的报错,救命啊大佬
网络问题,换热点或者先输一下这句命令
npm config set registry https://registry.npmmirror.com
网络问题,换热点或者先输一下这句命令
npm config set registry https://registry.npmmirror.com
哈喽,搞定了,换了个npm的源 参考了这个页面:https://zhuanlan.zhihu.com/p/659077633 换成了淘宝的
部署页完成!
感谢大佬们的开源!