aisuda / amis-widget-cli

amis自定义组件开发工具
53 stars 14 forks source link

amis init -t=react 卡着不动 #4

Closed imlida closed 2 years ago

imlida commented 2 years ago

The authenticity of host 'github.com (140.82.114.3)' can't be established. ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM.

image
wibetter commented 2 years ago

可能时.ssh 文件夹缺少known_hosts文件,直接输入yes 回车 试一下看看,

wibetter commented 2 years ago

也可以直接从 https://github.com/aisuda 上clone对应的组件模板: image

wibetter commented 2 years ago

自定义组件模板存放在 Github,由于国内网络环境问题,可能下载失败。如果初始化组件失败请尝试如下措施: 1、在设备或路由器的网络设置中增加 DNS(如:8.8.8.8,使用Google DNS的主 DNS 服务器); 2、在设备中增加固定的 hosts(如:140.82.113.4 github.com)

wibetter commented 2 years ago

ssh-keyscan github.com >> ~/.ssh/known_hosts

wibetter commented 2 years ago

目前已提供一种更快的安装模式:amis init -m=copy,可以毫秒级初始化自定义组件。