- 代码质量的主包size和上传的主包size相差太大,是怎么回事呢?
代码质量扫描结果:主包(不包含插件)size超了1.5M,见下图 [图片] 但是,我上传代码后,主包显示大小是1423K = 1.39M,小于1.5M,所以代码质量扫描为什么通不过呢??计算的口径是压缩前的size吗?求讲解 [图片]
2023-09-20 - we分析-性能分析-打开率为什么突降?【资源加载完成次数】和【小程序打开次数】的统计口径分别是?
两个问题: 1、图一,we分析-性能分析-打开率从16号开始为什么突降??15号是发了两版,期间是修改了一个页面的路径,为了防止出现落地页找不到的情况,然后在app的onPageNotFound中重定向,这个原因会导致打开率降低嘛? 2、图二,【资源加载完成次数】和【小程序打开次数】的统计口径分别是?开发者能否在小程序代码中埋点这两个时间点呢?? [图片][图片]
2022-12-21 - we分析-性能分析-启动性能中小程序打开次数的计算口径是?
1、图一,we分析-性能分析-启动性能中的【小程序打开次数】的计算口径是? 2、这个数据和图二中平台数据-核心数据中的【日打开次数】两个数据不一致,他们是有什么区别? 3、小程序冷启动时,初始化落地页是不存在的页面A,会在app的onPageNotFound中重定向到页面B,这种情况下还会计入图一的打开次数中嘛? 麻烦务必解答下第三个问题,实在好困惑 [图片] [图片]
2022-12-19 - 预览和上传时报错,该怎么解决?
miniprogram-ci版本:1.8.35 而且,在开发者工具中使用真机编译和预览也会报下面的错 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 0x100d78bad node::Abort() (.cold.1) [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 2: 0x10003ae85 node_module_register [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 3: 0x10003b046 node::FatalTryCatch::~FatalTryCatch() [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 4: 0x1001aa297 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 5: 0x1001aa231 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 6: 0x100599642 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 7: 0x10059bd73 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 8: 0x100597cee v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 9: 0x100595b6d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 10: 0x1005a2d95 v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 11: 0x1005a2dff v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 12: 0x100571fe3 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 13: 0x10080631f v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/qitmac001076/.nvm/versions/node/v10.24.1/bin/node] 14: 0x13ff881dbf3d worker thread: 58581, status: 1, exit with code: null worker thread: 58581 exit with code: null when it is busy, retry 2 times processing: pages/cwallet/setrealname/index.wxss
2022-10-31 - 开发者工具1.05.2204250版本之后的版本 报错xxx is not defined
app.js中写 import "./common/utils/hookUrl/index.js"; 文件是存在的,但会在控制台报错 Error: module "common/utils/hookUrl/index.js" is not defined。 具体看下图表现: [图片] 这个错误在开发者工具1.05.2204250版本及1.6版本存在,1.05.2105170是没问题的。 这怎么处理呢?
2022-06-23