wepy npm run build 打包时报错 [Error] {"message":"Unexpected token: name (toString)","filename":0,"line":3,"col":4,"pos":19}

rn0zuynd  于 2022-10-22  发布在  其他
关注(0)|答案(4)|浏览(187)

npm run build 打包时报错

[Error] {"message":"Unexpected token: name (toString)","filename":0,"line":3,"col":4,"pos":19}
jobtbby3

jobtbby31#

一样的问题,咋回事。。。

t9aqgxwy

t9aqgxwy3#

请带上 wepy-cli 的版本和 wepy 的版本信息

ny6fqffe

ny6fqffe4#

nodejs 版本问题。 切换到10.x版本就可以了

相关问题