Closed mgscreativa closed 1 year ago
Hi @mgscreativa, and thank you for reaching out to us. I've manage to reproduce the error you encountered in your project. Upon investigation, I found that the issue stems from the AppCenter CLI usage of the React Native package during the bundle assembly. Specifically, this error can be replicated by executing the command react-native bundle --platform ios --entry-file App.tsx
.
It's important to note that this error is not related to the AppCenter CLI, but rather to the React Native package. As such, I will be closing this issue for now, but if you have any questions, feel free to reopen this issue.
Description
Trying to setup an Expo managed workflow project here to use CodePush the cli fails if I use local imports like this
import EditScreenInfo from '@/components/EditScreenInfo';
If I import my local RN components with good old ./ it works. IE, if I change all lines like thisimport EditScreenInfo from '../../components/EditScreenInfo';
it works.Repro Steps
appcenter codepush release-react -a mgscreativa/ios-expo-code-push-plugin-managed-workflow --deployment-name "Development" --entry-file App.tsx --use-hermes --target-binary-version "1.0.0"
Expected behavior
Bundle created
Details
appcenter tokens list