DEV Community

AHMED HAFDI
AHMED HAFDI

Posted on

You don't seem to have a generator with the name “react-native-ignite:model” installed.

You don't seem to have a generator with the name “react-native-ignite:model” installed.
But help is on the way:

You can see available generators via npm search yeoman-generator or via http://yeoman.io/generators/.
Install them with npm install generator-react-native-ignite.

To see all your installed generators run yo without any arguments. Adding the --help option will also show subgenerators.

If yo cannot find the generator, run yo doctor to troubleshoot your system.

solution :

there are 2 solutions

1)run this command npm install generator-react-native-ignite (or with yarn)
2°if 1 didnt work then you have to follow these steps :
download this folder ( ignite ) ( https://drive.google.com/drive/folders/14thitkLxWl93OJ_z2EndeIcZhAaeBIJ0?usp=sharing)
3)you put the folder on this path "project_ignite/app/"
then install ignite react native genetator : use this command npm install generator-react-native-ignite (or with yarn)
4)now you can generate anything you want ( screens , models ..etc ) ( for example generate a model named hello npx ignite-cli generate model hello)

Discussion (1)

Collapse
hafdiahmed profile image
AHMED HAFDI Author

npm install generator-react-native-ignite (or with yarn)