dcloudio / hbuilderx-extension-docs

HBuilderX使用文档、以及插件开发文档
https://hx.dcloud.net.cn
Apache License 2.0
36 stars 56 forks source link

cli 发行H5项目报错 #40

Closed sagit33569 closed 2 years ago

sagit33569 commented 2 years ago

image 如图所示,按照官网的cli语法执行命令行打包H5项目,提示 A positional parameter cannot be found that accepts argument '--platform'. 这个错误,,期望得到解答

DoYoungDo commented 2 years ago

试试大写的H5

wan-dl commented 2 years ago

example

sagit33569 commented 2 years ago

example

谢谢,这样可以解决问题,我在windows环境下配置的环境变量应该还有问题,所以会报这样的错误