jdf2e / nutui

京东风格的移动端 Vue 组件库,支持多端小程序(A Vue.js UI Toolkit for Mobile Web)
https://nutui.jd.com
MIT License
6.09k stars 826 forks source link

[bug] #917

Closed Mo-zixin closed 2 years ago

Mo-zixin commented 2 years ago

问题描述

下载damo后 无法运行

最小可复现仓库

https://github.com/jdf2e/nutui-demo/tree/master/taro

预期的行为和实际行为

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '$forceUpdate') at Object.updateAppInstance (vue3.ts?d42d:136) at Object.mount (vue3.ts?d42d:127) at mount (common.ts?d785:127) at Object.onLoad (common.ts?d785:144) at PageHandler.load (index.js?ddae:3022) at _callee$ (index.js?ddae:3298) at tryCatch (runtime.js?96cf:63) at Generator.invoke [as _invoke] (runtime.js?96cf:294) at Generator.eval [as next] (runtime.js?96cf:119) at asyncGeneratorStep (index.js?ddae:534)

复现步骤,具体代码

安装依赖后 无法正常运行

相关环境信息

Mo-zixin commented 2 years ago

在 dev:h5 时

y574664379 commented 2 years ago

我也是这个问题

Drjingfubo commented 2 years ago

删掉node_modules和lock,重新装下依赖试试呢,我们这边本地跑可以正常运行