You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Module Factory] modular 288 execution fail:
Cannot set property default of #<Object> which has only a getter
TypeError: [Module Factory] modular 288 execution fail:
Cannot set property default of #<Object> which has only a getter
at Object.node_modulesTarojsComponentsVirtualListIndexJs (http://127.0.0.1:56809/output/app.js:27153:31)
at __webpack_require__ (http://127.0.0.1:56809/output/app.js:34807:43)
at Object.srcComponentsBaseBaseVirtualListIndexTsx (http://127.0.0.1:56809/output/app.js:10673:1448)
at __webpack_require__ (http://127.0.0.1:56809/output/app.js:34807:43)
at Object.srcComponentsBaseIndexTs (http://127.0.0.1:56809/output/app.js:10690:9331)
at __webpack_require__ (http://127.0.0.1:56809/output/app.js:34807:43)
at Object.srcComponentsIndexTs (http://127.0.0.1:56809/output/app.js:10702:9810)
at __webpack_require__ (http://127.0.0.1:56809/output/app.js:34807:43)
at Object.srcUtilsCanvasIndexTs (http://127.0.0.1:56809/output/app.js:11716:1208)
at __webpack_require__ (http://127.0.0.1:56809/output/app.js:34807:43)
ext msg: {}
[Lifecycle Fail] Call Page.onInit fail:
Cannot read properties of null (reading 'mount')
TypeError: [Lifecycle Fail] Call Page.onInit fail:
Cannot read properties of null (reading 'mount')
at mount (http://127.0.0.1:56809/output/app.js:33285:24)
at u.onInit (http://127.0.0.1:56809/output/app.js:33299:11)
at e.value (file:///Users/ajin/Library/Application%20Support/SwanIDE/cli/vendor/swan-core/3.660.3/master/index.js:1:646993)
at e.value (file:///Users/ajin/Library/Application%20Support/SwanIDE/cli/vendor/swan-core/3.660.3/master/index.js:1:635495)
at e.page.viewLoaded.on.eventListeners.page.viewLoaded (file:///Users/ajin/Library/Application%20Support/SwanIDE/cli/vendor/swan-core/3.660.3/master/index.js:1:636385)
at a.value (file:///Users/ajin/Library/Application%20Support/SwanIDE/cli/vendor/swan-core/3.660.3/master/index.js:1:269812)
at e.value (file:///Users/ajin/Library/Application%20Support/SwanIDE/cli/vendor/swan-core/3.660.3/master/index.js:1:636095)
at e.value (file:///Users/ajin/Library/Application%20Support/SwanIDE/cli/vendor/swan-core/3.660.3/master/index.js:1:631660)
at loadSuccess (file:///Users/ajin/Library/Application%20Support/SwanIDE/cli/vendor/swan-core/3.660.3/master/index.js:1:667789)
at m (file:///Users/ajin/Library/Application%20Support/SwanIDE/cli/vendor/swan-core/3.660.3/master/index.js:1:453354)
ext msg: {"methodParams":{}}
这是详细报错: TypeError: Cannot set property default of #<Object> which has only a getter at node_modules/@tarojs/components/virtual-list/index.js (http://localhost:10086/chunk/vendors-node_modules_taro_h5_prebundle_tarojs_components_virtual-list_js.js:1105:32) at __require (http://localhost:10086/chunk/node_modules_taro_h5_prebundle_react_js.js:28:56) at entry:@tarojs_components_virtual-list (http://localhost:10086/chunk/vendors-node_modules_taro_h5_prebundle_tarojs_components_virtual-list_js.js:1111:26) at __require (http://localhost:10086/chunk/node_modules_taro_h5_prebundle_react_js.js:28:56) at ./node_modules/.taro/h5/prebundle/@tarojs_components_virtual-list.core.js (http://localhost:10086/chunk/vendors-node_modules_taro_h5_prebundle_tarojs_components_virtual-list_js.js:1114:64) at options.factory (http://localhost:10086/runtime.js:919:31) at __webpack_require__ (http://localhost:10086/runtime.js:36:33) at fn (http://localhost:10086/runtime.js:590:21) at ./node_modules/.taro/h5/prebundle/@tarojs_components_virtual-list.js (http://localhost:10086/chunk/vendors-node_modules_taro_h5_prebundle_tarojs_components_virtual-list_js.js:1125:9) at options.factory (http://localhost:10086/runtime.js:919:31)
相关平台
百度小程序
小程序基础库: 3.310.35
使用框架: React
复现步骤
正常run build 运行,
打包成功生成dist文件
运行在百度平台报错,微信平台可以正常运行
期望结果
能直接运行
实际结果
环境信息
The text was updated successfully, but these errors were encountered: