当前位置:网站首页>Cocos released the oppo game prompt "subcontracting failed"

Cocos released the oppo game prompt "subcontracting failed"

2022-06-13 06:38:00 l8487

Maybe the reason is ,

1、cocos There are spaces in the installation directory , For example, it is installed in D:\Program Files\ Under the table of contents .

The inevitable reason is :

1、 The subcontract name is illegal . The prompt results for manual construction are as follows :

H:\wxgame\Code\client\xiuxian_pf\build\quickgame>quickgame subpack

H:\wxgame\Code\client\xiuxian_pf\build\quickgame>node  "H:\wxgame\oppo\quickgame-toolkit\lib\bin\index.js" subpack
[ preparation ]build&dist  Folder is empty 
### Including subcontracting ###  Start packing 
[ Configuration error ] Subcontract name cannot be main: [main]

H:\wxgame\Code\client\xiuxian_pf\build\quickgame>

Conclusion . There are many possibilities of subcontracting construction failure and error reporting , Build it by hand , You know the reason for the mistake .

原网站

版权声明
本文为[l8487]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202270554034694.html