Я следую инструкциям формы api-platform и получаю сообщение об ошибке при первом запуске expo
$ yarn global add expo-cli
$ expo init my-app
# When asked, choose to use the blank template
$ cd my-app
$ yarn add redux react-redux redux-thunk redux-form react-native-elements react-native-router-flux react-native-vector-icons prop-types whatwg-url buffer react-native-event-source
$npx @api-platform/client-generator https://demo.api-platform.com . --generator react-native --resource book
, после чего вам нужно изменить App.js и создать Route.js изэта ссылка https://api -platform.com / docs / клиент-генератор / реактивный-родной / # generate-a-native-app
и запустить
expo start
и я получил ошибку
Invariant Violation: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of `ListComponent`.
This error is located at:
in RCTView (at View.js:45)
in View (at ScrollView.js:976)
...
This error is located at:
in NavigationContainer (at Router.js:97)
in App (at Router.js:122)
in Router (at Router.js:8)
in RouterComponent (at App.js:34)
...
выпуск