当前位置:网站首页>taro 打包编译报错
taro 打包编译报错
2022-07-30 05:51:00 【FE-阿阳】
问题描述
taro 打包编译报错如下:
TypeError: Cannot destructure property ‘importFrameworkStatement’ of ‘options.loaderMeta’ as it is undefined.
问题原因
taro脚手架版本过低,请升级版本,
亲测:@tarojs/cli 3.3.xx 版本无法打包编译 @tarojs/taro 3.4.xxx 以上版本
解决方案
# 使用 npm 安装 CLI
$ npm install -g @tarojs/cli
# OR 使用 yarn 安装 CLI
$ yarn global add @tarojs/cli
# OR 安装了 cnpm,使用 cnpm 安装 CLI
$ cnpm install -g @tarojs/cli
边栏推荐
- DHCP principle and configuration
- The newcomer deleted data by mistake, and the team leader skillfully used MySQL master-slave replication to delay the recovery of losses
- Ali two sides: Sentinel vs Hystrix comparison, how to choose?
- New breakthrough in artificial muscle smart materials
- Let the "label" content in Baidu map generator expand--solution
- export , export default,import完整用法
- ETL为什么经常变成ELT甚至LET?
- 2020 数学建模之旅
- Detailed explanation of numpy multidimensional array ndarray
- 首届人工智能安全大赛正式启动
猜你喜欢

Boot process and service control

【雷达目标检测】恒定阈值法和恒虚警(CFAR)法及代码实现

Local Implicit Grid Representations for 3D Scenes详解

空间平面相交的直线的计算及其源码

The introduction of AI meta-learning into neuroscience, the medical effect is expected to improve accurately

华为发布“十大发明”,包含计算、智能驾驶等新领域

Station B collapsed, what would you do if you were the developer in charge that night?

Is it possible to use the same port for UDP and TCP?

MySQL master-slave replication configuration construction, one step in place

LVM and disk quotas
随机推荐
Local Implicit Grid Representations for 3D Scenes详解
2020 ACM | MoFlow: An Invertible Flow Model for Generating Molecular Graphs
node.js中实现对数据库的链式操作
VR机器人教你如何正确打乒乓球
Keil软件中map文件解析
矩阵的行列式的计算及其源码
What are the access modifiers, declaration modifiers, and keywords in C#?Literacy articles
Go 使用mencached缓存
阿里二面:Sentinel vs Hystrix 对比,如何选择?
uniapp中canvas与v-if更“配”
理解和熟悉递归中的尝试
空间顶点到平面的距离计算的证明及其源码
export , export default, import complete usage
The calculation and source code of the straight line intersecting the space plane
How does Redis prevent oversold and inventory deduction operations?
go : go gin返回JSON数据
上传文件--文件类型大全,图片类型,文档类型,视频类型,压缩包类型
架构设计指南 如何成为架构师
golang: Gorm配置Mysql多数据源
Boot process and service control