skyclouds2001
skyclouds2001
wonder if `` is used in any case?
closing as https://github.com/NervJS/taro/pull/17385 has been merged
> 暂时不清楚原因,我这边正常没有报错 > >  神奇了,我从 https://github.com/skyclouds2001/taro-template-sky/tree/template-error-report 这边重新下了个版本,再按流程跑了一遍,居然没报错 我再研究一下
应该是和项目所在路径有关,路径中含中文(非 ASCII 字符)会报错,不含就不会报错 D:\程序\taro-template-sky> pnpm dev:h5 运行报错 D:\chengxu\taro-template-sky> pnpm dev:h5 正常运行
另外 @babel/plugin-proposal-decorators 只被 babel-preset-taro 依赖
很可能和项目模板中添加 @babel/plugin-proposal-class-properties 的原因类似,参见 https://github.com/NervJS/taro/commit/5400d1f4bd538bdb5e022e0a3abccb92f1483826
`color` seems to be a presentation attribute for svg
https://github.com/mdn/data/blob/33e182f2c36208fff865875142714bf42f3c26f0/css/at-rules.json#L328-L336 https://github.com/mdn/data/blob/8ec6d5057d8b774c185e33fe684b5af4dc8f3333/css/at-rules.json#L149-L157 note that v2.20.0 use ``, while v2.12.2 use `` I think this should merge after updating mdn-data
this is a not-related PR which should be removed
closing due to https://github.com/NervJS/taro/pull/17385 has been merged