-
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/cli4.0.2+vite4.2.0+vue3.x TypeError: Cannot read property 'createTextNode' of null #16141
Comments
taro-bot2
bot
added
F-vue3
Framework - Vue 3
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Jul 23, 2024
Aliujiayu
changed the title
TypeError: Cannot read property 'createTextNode' of null
微信小程序 taro/cli4.0.2+vite4.2.0+vue3.x TypeError: Cannot read property 'createTextNode' of null
Jul 24, 2024
现在直接issues都不让提了?新提issues表单内容拼接到url上提交?😅 |
4.0.3应该已经修复该问题了 |
欢迎提交issue,感谢反馈问题,我们会尽快修复 |
2,babel.config.js中不是已经默认引用了babel-preset-taro吗?怎么这个还能报这个错
|
可以正常提交的哦,请重新试试呢,同时检查下提交的内容是否符合 |
This was referenced Jul 27, 2024
This was referenced Jul 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/Aliujiayu/taro4.git
Taro版本: 4.0.2
小程序基础库: 3.5.0
使用框架: Vue 3
复现步骤
taro init xtEvaluation
? 请输入项目介绍 测评
? 请选择框架 Vue3
? 是否需要使用 TypeScript ? Yes
? 请选择 CSS 预处理器(Sass/Less/Stylus) 无
? 请选择包管理工具 pnpm
? 请选择编译工具 Vite
? 请选择模板源 CLI 内置默认模板
直接运行即可
期望结果
运行起来
实际结果
app.js错误:
TypeError: app.js错误:
TypeError: Cannot read property 'createTextNode' of null
at createText (vendors.js? [sm]:6775)
at processFragment (vendors.js? [sm]:4067)
at patch (vendors.js? [sm]:3643)
at ReactiveEffect.componentUpdateFn [as fn] (vendors.js? [sm]:4285)
at ReactiveEffect.value (vendors.js? [sm]:354)
at instance.update (vendors.js? [sm]:4409)
at setupRenderEffect (vendors.js? [sm]:4419)
at mountComponent (vendors.js? [sm]:4187)
at processComponent (vendors.js? [sm]:4141)
at patch (vendors.js? [sm]:3669)(env: macOS,mp,1.06.2407101; lib: 3.5.0)
at createText (vendors.js? [sm]:6775)
at processFragment (vendors.js? [sm]:4067)
at patch (vendors.js? [sm]:3643)
at ReactiveEffect.componentUpdateFn [as fn] (vendors.js? [sm]:4285)
at ReactiveEffect.value (vendors.js? [sm]:354)
at instance.update (vendors.js? [sm]:4409)
at setupRenderEffect (vendors.js? [sm]:4419)
at mountComponent (vendors.js? [sm]:4187)
at processComponent (vendors.js? [sm]:4141)
at patch (vendors.js? [sm]:3669)(env: macOS,mp,1.06.2407101; lib: 3.5.0)
环境信息
补充信息
1,项目版本为:taro4 vite4 vue3
2,babel.config.js中不是已经默认引用了babel-preset-taro吗?怎么这个还能报这个错
Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint
3,什么都没改,直接初始化项目都报错
The text was updated successfully, but these errors were encountered: