dawn
dawn copied to clipboard
dn init 失败
1. Information
OS & version | Node version | Dawn version |
---|---|---|
10.14.6 (18G6020) | v12.14.0 | 1.9.2 |
2. Problem
dn init 失败
不能正常初始化项目
3. Recurrence
npm install -g dawn
dn init
看错误提示是你边的的网络访问 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 |