ignite: Ignite not able to generate components any longer?

When I run ignite g it gives me a list of generators such as ‘component’, ‘container’, etc., but the descriptions are gone and they say ‘missing’. See screenshot below: screen shot 2018-01-12 at 9 34 10 am

Any idea what’s going on?


ignite doctor results:

System
  platform           darwin                                                                                     
  arch               x64                                                                                        
  cpu                8 cores                               Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz  
  directory          /Users/chapeljuice/Documents/repos/raapp                                                        

JavaScript
  node               9.3.0        /Users/chapeljuice/.nvm/versions/node/v9.3.0/bin/node  
  npm                5.5.1        /Users/chapeljuice/.nvm/versions/node/v9.3.0/bin/npm   
  yarn               0.23.2       /usr/local/bin/yarn                               

React Native
  react-native-cli   2.0.1       
  app rn version     0.51.0      

Ignite
  ignite             2.0.0-beta.8   /usr/local/bin/ignite  

Android
  java               1.8.0_121    /usr/bin/java                      
  android home       -            /Users/chapeljuice/Library/Android/sdk  

iOS
  xcode              9.2 

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 22 (4 by maintainers)

Most upvoted comments

@skellock no such luck 😦

screen shot 2018-01-12 at 10 31 34 am

I should also add that when I actually try to generate a component like so:

ignite g component NewComponent

Nothing happens. The terminal just gives me a new prompt.

The solution for v2.1.1 is adding the generators to the ignite/ignite.json, as shown below ( when using andross ).

{
  "createdWith": "2.1.1",
  "examples": "classic",
  "navigation": "react-navigation",
  "askToOverwrite": true,
  "generators": {
    "component": "ignite-ir-boilerplate-andross",
    "container": "ignite-ir-boilerplate-andross",
    "listview": "ignite-ir-boilerplate-andross",
    "list": "ignite-ir-boilerplate-andross",
    "redux": "ignite-ir-boilerplate-andross",
    "saga": "ignite-ir-boilerplate-andross",
    "screen": "ignite-ir-boilerplate-andross"
  }
}

@akhil-geekyants @LuisUrrutia @chapeljuice The solution is adding the generators to the ignite/ignite.json

{
  "createdWith": "2.0.0",
  "examples": "classic",
  "navigation": "react-navigation",
  "askToOverride": true,
  "generators": {
    "component": "ignite-ir-boilerplate",
    "container": "ignite-ir-boilerplate",
    "listview": "ignite-ir-boilerplate",
    "list": "ignite-ir-boilerplate",
    "redux": "ignite-ir-boilerplate",
    "saga": "ignite-ir-boilerplate",
    "screen": "ignite-ir-boilerplate"
  }
}

I have the same problem: captura de pantalla 2018-02-06 a la s 13 02 13

Thanks for your response!

So I ran npm install and double checked my devDependencies. I have:

    "ignite-animatable": "^1.0.0",
    "ignite-dev-screens": "^2.2.0",
    "ignite-i18n": "^1.1.1",
    "ignite-ir-boilerplate": "^2.3.1",
    "ignite-vector-icons": "^1.1.0",

…but it’s still behaving the same way.

Any other thoughts?

What you described happens if you don’t have the node dependencies installed. Try running yarn or npm install and then generating the component. Also make sure ignite-ir-boilerplate is in your package.json under devDependencies