为 React Native 构建应用程序中心错误,寻找 index.ios.js
appcenter error build for reactnative, looking for index.ios.js
我有一个反应本机项目,我想使用 appcenter,
构建项目时,出现以下错误:
========================== Starting Command Output ===========================
[command]/bin/bash --noprofile --norc /Users/vsts/agent/2.155.1/work/_temp/4371836d-ad98-4059-84bc-f7bc51688d63.sh
Found index.ios.js for ReactNative index.
warning: the transform cache was reset.
error The resource /Users/vsts/agent/2.155.1/work/1/s/index.ios.js
was not found.. Run CLI with --verbose flag for more details.
[error]Bash exited with code '1'.
但是我的 React Native 项目是用 expo 创建的,在弹出后的新模式中没有 index.ios.js 或 index.js
我也发现这个条目在谈论它,
但还不明白如何添加 index.js 脚本
https://github.com/microsoft/appcenter/issues/189
谢谢
这是一个已知问题,正在 GitHub 中进行跟踪。 GitHub 问题也有一个记录在案的解决方法。
我有一个反应本机项目,我想使用 appcenter,
构建项目时,出现以下错误:
========================== Starting Command Output =========================== [command]/bin/bash --noprofile --norc /Users/vsts/agent/2.155.1/work/_temp/4371836d-ad98-4059-84bc-f7bc51688d63.sh Found index.ios.js for ReactNative index. warning: the transform cache was reset. error The resource
/Users/vsts/agent/2.155.1/work/1/s/index.ios.js
was not found.. Run CLI with --verbose flag for more details. [error]Bash exited with code '1'.
但是我的 React Native 项目是用 expo 创建的,在弹出后的新模式中没有 index.ios.js 或 index.js
我也发现这个条目在谈论它, 但还不明白如何添加 index.js 脚本 https://github.com/microsoft/appcenter/issues/189
谢谢
这是一个已知问题,正在 GitHub 中进行跟踪。 GitHub 问题也有一个记录在案的解决方法。