Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Example gives cannot read property 'includes' of undefined #294

Open
kopax opened this issue Oct 28, 2019 · 2 comments
Open

Example gives cannot read property 'includes' of undefined #294

kopax opened this issue Oct 28, 2019 · 2 comments

Comments

@kopax
Copy link

kopax commented Oct 28, 2019

Hi, I have just discover ignite and wanted to give it a try.

First of all, this example is not working, it gives ✖ Cannot read property 'includes' of undefined

dka@dev-11:[~/workspace/tmp]: npm i -g ignite-cli
npm WARN npm npm does not support Node.js v13.0.1
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12.
npm WARN npm You can find the latest version at https://nodejs.org/
/home/dka/.nvm/versions/node/v13.0.1/bin/ignite -> /home/dka/.nvm/versions/node/v13.0.1/lib/node_modules/ignite-cli/bin/ignite
+ [email protected]
added 190 packages from 138 contributors in 31.979s
dka@dev-11:[~/workspace/tmp]: ignite new PizzaApp
-----------------------------------------------
  (                  )   (                   
  )\ )   (        ( /(   )\ )    *   )       
 (()/(   )\ )     )\()) (()/(  ` )  /(   (   
  /(_)) (()/(    ((_)\   /(_))  ( )(_))  )\  
 (_))    /(_))_   _((_) (_))   (_(_())  ((_) 
 |_ _|  (_)) __| | \| | |_ _|  |_   _|  | __|
  | |     | (_ | | .` |  | |     | |    | _| 
 |___|     \___| |_|\_| |___|    |_|    |___|
-----------------------------------------------

An unfair headstart for your React Native apps.
https://infinite.red/ignite

-----------------------------------------------

🔥 igniting app PizzaApp
✔ Which boilerplate would you like to use? · ignite-andross
✔ using the Infinite Red boilerplate v2 (code name 'Andross')
✔ added React Native 0.59.9 in 161.62s
✔ Would you like Ignite Development Screens? · Yes
✔ What vector icon library will you use? · react-native-vector-icons
✔ What internationalization library will you use? · react-native-i18n
✔ What animation library will you use? · react-native-animatable
✔ Would you like to include redux-persist? · Yes
✔ added ignite-andross in 7.46s
✔ added ignite-vector-icons in 18.65s
✔ added ignite-i18n in 14.92s
✔ added ignite-animatable in 13.56s
✔ added ignite-dev-screens in 21.49s
✔ added ignite-redux-persist in 27.5s
✔ added ignite-standard in 59.54s
✔ configured git
✔ ignited PizzaApp in 431.72s

    Ignite CLI ignited PizzaApp in 431.72s

    To get started:

      cd PizzaApp
      react-native run-ios
      react-native run-android

To run in Android, make sure you've followed the latest react-native setup instructions at https://facebook.github.io/react-native/docs/getting-started.html before using ignite.
You won't be able to run react-native run-android successfully until you have.
      ignite --help

    Read the walkthrough at https://github.com/infinitered/ignite-andross/blob/master/readme.md#boilerplate-walkthrough

    Need additional help? Join our Slack community at http://community.infinite.red.

    Now get cooking! 🍽
  
✔ npm i complete
dka@dev-11:[~/workspace/tmp]: ignite add maps
✖ Cannot read property 'includes' of undefined

Also, I see that ignite installed react-native 0.59.9 which is quite old. Are they plan to upgrade or can we already upgrade to >= 0.60.0 ?

Thanks for sharing!

@kopax
Copy link
Author

kopax commented Oct 28, 2019

Also have this:

dka@dev-11:[~/workspace/tmp]: ignite add i18n
✖ Cannot read property 'includes' of undefined

Looking at https://github.com/AlexanderZaytsev/react-native-i18n , it seems that the package is deprecated

This library is deprecated in favor of react-native-localize. You can use react-native-localize with I18n-js (but also with react-intl, react-i18next, etc. The choice is yours!)

@jamonholmgren jamonholmgren transferred this issue from infinitered/ignite Oct 28, 2019
@jamonholmgren
Copy link
Member

Hey @kopax , thanks for the issue! As Andross is in community support, we'd love a PR to fix this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants