-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
taro dev跑h5开启懒加载报错,浏览器打不开 #17217
Comments
This was referenced Jan 25, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
H5
复现仓库
https://gitee.com/binquan_Liang/taro-vue-ui-v3.git
浏览器版本: chrome129
使用框架: Vue 3
复现步骤
babel.config.js配置如下:
module.exports = {
presets: [
[
'taro',
{
framework: 'vue3',
ts: true,
'dynamic-import-node': true
}
]
],
plugins: []
}
跑完npm run dev:h5,然后浏览器打开就报错
期望结果
正常运行项目
实际结果
浏览器打开报错,报错如下:
runtime.js:36 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'call')
at webpack_require (runtime.js:36:33)
at fn (runtime.js:590:21)
at eval (app.boot.js:6:70)
at webpack_require.a (runtime.js:109:13)
at eval (app.boot.js:1:21)
at ./src/app.boot.js (app.js:7124:1)
at webpack_require (runtime.js:36:33)
at fn (runtime.js:590:21)
at eval (app.config.ts:1:1)
环境信息
The text was updated successfully, but these errors were encountered: