当前位置:网站首页>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
边栏推荐
- What new materials are used in the large aircraft C919?
- DHCP principle and configuration
- Camera coordinate system, world coordinate system, pixel coordinate system conversion, and Fov conversion of OPENGLDEFocal Length and Opengl
- @Bean 与 @Component 用在同一个类上,会怎样?
- 云服务器零基础部署网站(保姆级教程)
- sizeof
- this与super
- 深度学习:线性回归模型
- LVM and disk quotas
- Linx common directory & file management commands & VI editor usage introduction
猜你喜欢
Ali Ermian: How many cluster solutions does Redis have?I answered 4
阿里二面:Redis有几种集群方案?我答了4种
Station B collapsed, what would you do if you were the developer in charge that night?
人工肌肉智能材料新突破
Redis 如何实现防止超卖和库存扣减操作?
首届人工智能安全大赛正式启动
[硬核干货]由0到1,突破信息系统项目管理师(呕心沥血经验之谈)!!!
阿里二面:Sentinel vs Hystrix 对比,如何选择?
Let the "label" content in Baidu map generator expand--solution
你被MySQL 中的反斜杠 \\坑过吗?
随机推荐
golang : Zap日志整合
go : 使用gorm查询记录
Go 使用mencached缓存
阿里一面:多线程顺序运行有多少种方法?
[GO语言基础] 一.为什么我要学习Golang以及GO语言入门普及
Graphical relational database design ideas, this is too vivid
Test Development Engineer Growth Diary 015 - Top 20 Test Interview Questions
Station B collapsed, what would you do if you were the developer in charge that night?
The CTO said I was not advised to use SELECT *, why is that?
首届人工智能安全大赛正式启动
interface
“AI教练”请进家,家庭智能健身蓬勃发展
让百度地图生成器里的“标注”内容展开--解决方案
Rodrigues: vector representation of rotation matrices
Ali two sides: Sentinel vs Hystrix comparison, how to choose?
B站崩了,如果是你是那晚负责的开发人员你会怎么做?
Develop common tool software
VR机器人教你如何正确打乒乓球
万能js时间日期格式转换
Boot process and service control