【super-html】🧙 使用魔法 将构建的Web项目打包成一个html

RangeError: Invalid string length
这个是因为项目太大了么

微信图片_20220624175209 勾掉就好了

没遇到过这种报错,有可能是大小超字符串上限了,现在是资源都合并到一个字符串中,发布后的项目有多大?

800多mb

对不起,是我格局小了!选择放弃 :crazy_face:

:rofl:直接玩坏了,小的项目完美无压力,就是那个生成路径可以弄个自定义不,目录比较乱,第一次生成找半天,一直以为没生成

好建议,现在配置是全局的,意味着所有项目打包出来都会生成在一个文件夹哦。这样的结果是否能符合预期 :face_with_hand_over_mouth:

找到问题了,构建面板,不能勾选md5。
和3d应该没关系

可以,找到一次就知道从哪找了 :ox::beer:

@magician-f Thanks for your help!
But did you test superhtml with official PokiSDK plugin?
My game crashes on startup if I build using both superhtml and pokiSDK.
Do you know how to solve this problem?

过来蹲个打折 :rofl:

Thank you for your wait.What is the collapse? Is there an error log?poki sdk I don’t know and may be added to the task list or shelved because there is no time.

I am getting the following error:
image
Here is the Crazy Taxi game template with superhtml and PokiSDK plugins that crashes on startup.
I also wanted to know how to change the build template? I include some SDKs by changing the build template, but the superhtml plugin ignores these changes.
Thanks a lot for your help!

请问这是什么问题呢?creator2.4.9的版本

从报错的堆栈来看,是您项目的逻辑代码么?

已解决,自己业务的问题,感谢作者的回复。


Hi, I’m not Chinese, I only speak English, I got this error while building the product
Cocos Creator 2.4.5

On the build panel, uncheck MD5 and try

image


Thank you, but why when I uncheck MD5, I still get that error

Uncheck the 3D module in the module settings to try
微信图片_20220624175209