taro-project-templates icon indicating copy to clipboard operation
taro-project-templates copied to clipboard

taro init 启动报错,原因:package.json中少一个逗号

Open liunanchenFYJJ opened this issue 1 year ago • 3 comments

image

liunanchenFYJJ avatar Feb 19 '24 14:02 liunanchenFYJJ

image

liunanchenFYJJ avatar Feb 19 '24 14:02 liunanchenFYJJ

我看到在后续的版本中已经修复了该问题,那么是不是可以在选【default-youshu】模版的时候,选择高于3.6-rs的版本,这样就没有问题了

liunanchenFYJJ avatar Feb 20 '24 01:02 liunanchenFYJJ

看上去 3.6-rs 分支的 default-youshu 模板依然是有问题的。

https://github.com/NervJS/taro-project-templates/blob/dbec1b5613db1e3883a599d1e5814ea1a4d785e9/default-youshu/package.json.tmpl#L53

eiinu avatar Feb 21 '24 02:02 eiinu