当前位置:网站首页>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
边栏推荐
- 理解和熟悉递归中的尝试
- 阿里二面:列出 Api 接口优化的几个技巧
- go : 使用gorm修改数据
- export , export default, import complete usage
- Electron之初出茅庐——搭建环境并运行第一个程序
- 空间直线到平面上的交点的计算证明及其源码
- debian problem
- idea built-in translation plugin
- Station B collapsed, what would you do if you were the developer in charge that night?
- MySQL master-slave replication configuration construction, one step in place
猜你喜欢
From catching up to surpassing, domestic software shows its talents
图解关系数据库设计思想,这也太形象了
The calculation and source code of the straight line intersecting the space plane
这个终端连接工具,碾压Xshell
Redis download and installation
CTO说不建议我使用SELECT * ,这是为什么?
[GO语言基础] 一.为什么我要学习Golang以及GO语言入门普及
Electron之初出茅庐——搭建环境并运行第一个程序
限塑令下的新材料——聚乳酸(PLA)
AI元学习引入神经科学,医疗效果有望精准提升
随机推荐
Test Development Engineer Growth Diary 015 - Top 20 Test Interview Questions
mysql高阶语句(一)
矩阵的行列式的计算及其源码
如何理解普吕克坐标(几何理解)
【MySQL】MySQL中如何实现分页操作
export , export default, import complete usage
AI可通过X光片识别种族,但没人知道为什么
MySQL题外篇【ORM思想解析】
五号黯区靶场 mysql 注入之limit注入记录
计算矩阵的逆源码(使用伴随矩阵,3×3的矩阵)
When does MySQL use table locks and when does it use row locks?
向量叉乘的几何意义及其模的计算
STL源码剖析:bound friend template friend代码测试和理解
什么是微服务?
C# 使用RestSharp 实现Get,Post 请求(2)
Go 使用mencached缓存
空间顶点到平面的距离计算的证明及其源码
阿里二面:Sentinel vs Hystrix 对比,如何选择?
阿里二面:Redis有几种集群方案?我答了4种
限塑令下的新材料——聚乳酸(PLA)