GeekyAnts / vue-native-cli

Write Native Mobile Apps using Vue. Vue Native is a wrapper around React Native APIs
92 stars 21 forks source link

Transform Error Running Demo #46

Closed angelhdzmultimedia closed 3 years ago

angelhdzmultimedia commented 3 years ago

I'm getting a transform error trying to run the demo vue native app. I tried installing metro-react-native-babel-transform package, because it was missing from devDependencies in the package.json, but that doesn't fix it. Also tried previous version of both metro-react-native-babel-transform and metro-react-native-babel-preset (0.64.0). This issue is only happening in Vue Native app. If I create a React Native demo app it works on my Android emulator perfectly.

image

image

RishabhKarnad commented 3 years ago

@angelhdz This should be fixed now. vue-native-cli must have created a project with vue-native-core@0.3.0-rc.1 which has this issue https://github.com/GeekyAnts/vue-native-core/issues/302

Please use these instructions in case you want to continue to use the project you had created: https://github.com/GeekyAnts/vue-native-core/issues/304#issuecomment-796659899

Alternatively, you can create a new project with vue-native-cli, which will now correctly use vue-native-core@0.2.0