Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行cml quickapp build,dist下没有quickapp文件,但是打包提示success #587

Open
wtvue opened this issue Dec 9, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@wtvue
Copy link

wtvue commented Dec 9, 2021

bug描述
描述出现的问题
根据官方文档教程快应用体验,运行cml quickapp dev 和 cml quickapp build命令,dist下没有对应平台的文件
复现bug的步骤

  1. 下载示例项目https://github.com/chameleon-team/cml-flexbox/tree/master-quickapp (没有clone该仓库的原因是因为网络情况不太好,访问github经常time out)
  2. npm install安装依赖
  3. cml quickapp dev 或者 cml quickapp build,打包结果success,但是dist出了一个config.json,没有其他任何文件。打包截图如下
    image
  4. 控制台只有一个 TypeError: Property selfClosing expected type of boolean but got array,这个警告并非是因为项目文件导致,是本项目下node_modules里面其他依赖库的警告
  5. 打包微信,h5等其他平台则可以生成对应平台的文件。
    问题截图

编译环境信息

  • chameleon-tool 版本:[1.0.8]
  • nodejs版本、npm版本:[node v14.16.0、npm 6.14.11]
  • 电脑操作系统: [Windows 10 专业版 20H2]
@wtvue wtvue added the bug Something isn't working label Dec 9, 2021
@wtvue wtvue closed this as completed Dec 9, 2021
@wtvue wtvue reopened this Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant