当前位置:网站首页>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
边栏推荐
- roslyn folder under bin folder
- Huawei released "ten inventions", including computing, intelligent driving and other new fields
- RAID disk array
- 空间直线到平面上的交点的计算证明及其源码
- Go语学习笔记 - gorm使用 - 数据库配置、表新增 Web框架Gin(七)
- Calculate the inverse source of the matrix (using the adjoint matrix, a 3x3 matrix)
- MySQL master-slave replication configuration construction, one step in place
- debian problem
- 识别“数据陷阱”,发现数据的可疑之处
- sql concat()函数
猜你喜欢

The Society of Mind - Marvin Minsky

Graphical relational database design ideas, this is too vivid

计算矩阵的逆源码(使用伴随矩阵,3×3的矩阵)

“AI教练”请进家,家庭智能健身蓬勃发展

Go 使用 freecache 缓存

识别“数据陷阱”,发现数据的可疑之处

Local Implicit Grid Representations for 3D Scenes详解

The CTO said I was not advised to use SELECT *, why is that?

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

C#的访问修饰符,声明修饰符,关键字有哪些?扫盲篇
随机推荐
Electron使用romote报错 : Uncaught TypeError: Cannot read property ‘BrowserWindow‘ of undefined
如何理解普吕克坐标(几何理解)
开发常用工具软件
Go 使用 freecache 缓存
MySQL什么时候用表锁,什么时候用行锁?
Keil软件中map文件解析
MYSQL下载及安装完整教程
Vue项目通过node连接MySQL数据库并实现增删改查操作
this与super
你被MySQL 中的反斜杠 \\坑过吗?
什么是微服务?
[GO语言基础] 一.为什么我要学习Golang以及GO语言入门普及
进制转换。。。
这个终端连接工具,碾压Xshell
MySQL master-slave replication configuration construction, one step in place
idea built-in translation plugin
雷总个人博客看到
限塑令下的新材料——聚乳酸(PLA)
分布式系统中的开创者—莱斯利·兰伯特
The usage of window.open(), js opens a new form