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

dn init 失败 #241

Open
huaibaomengxiang opened this issue Mar 3, 2021 · 1 comment
Open

dn init 失败 #241

huaibaomengxiang opened this issue Mar 3, 2021 · 1 comment
Assignees
Labels

Comments

@huaibaomengxiang
Copy link

1. Information

OS & version Node version Dawn version
10.14.6 (18G6020) v12.14.0 1.9.2

2. Problem

image
dn init 失败
不能正常初始化项目

3. Recurrence

npm install -g dawn
dn init
WechatIMG8

@soulwu
Copy link
Collaborator

soulwu commented Mar 11, 2021

看错误提示是你边的的网络访问 https://alibaba.github.io/dawn/template.yml 不通,所以没能拉到默认的模板列表。可以通过执行

dn init -t front

指定模板进行初始化

目前可使用的官方模板如下:

name description
front Blank front end project template
react React project template
vue Vue project template
node Blank node project template
browser Blank lib project for browser
middleware Dawn middleware project template
middleware-ts Dawn middleware project template with typescript
doc Blank doc project template

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

No branches or pull requests

3 participants