ios - 升级后 React Native IOS 构建问题
问题描述
将本机版本升级到 66.3 后,我遇到了以下错误。
未分类的组命令 PhaseScriptExecution 失败,退出代码为非零
Showing All Messages
processRequest = (req, res, next) => {
Showing All Messages
SyntaxError: Unexpected token =
at new Script (vm.js:74:7)
at createScript (vm.js:246:10)
at Object.runInThisContext (vm.js:298:10)
at Module._compile (internal/modules/cjs/loader.js:670:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
解决方案
推荐阅读
- javascript - Babel 7:编译模块后未捕获的 ReferenceError
- c# - 在 Ninject 中绑定后更改连接字符串
- visual-studio - MS Visual Studio 13 Forms SQL Server 2008 V2 慢查询返回
- python - Python自定义记录器未打印到控制台
- javascript - 如何使用jspdf制作多个页面
- javascript - 如何在 React Native 中使用 FlatList 和 webView 显示数据?
- sonarqube-scan - SonarCloud:如何使用 T-SQL 规则而不是 PL/SQL 规则
- javascript - 在 td 中添加 TR
- django - Apache2 反向代理剥离了我的自定义标头
- mysql - 使用 sqldiff 将 SQL 数据库与 Django 模式进行比较