infinitered / ignite-bowser

Bowser is now re-integrated into Ignite CLI! Head to https://github.com/infinitered/ignite to check it out.
https://infinite.red/ignite
MIT License
615 stars 140 forks source link

Generators Empty in ignite.json #321

Open AnonymousSB opened 4 years ago

AnonymousSB commented 4 years ago

What's going on? When I try to run generators it fails, saying none are found. the generators object in ignite.json is empty.


Steps to reproduce ignite new project cd project ignite generate screen new-screen


ignite doctor results:

System platform darwin
arch x64
cpu 4 cores Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
directory HYCMemberSpending /Users/samuelbrecher/source/TheLittleGuyInc/HYCMemberSpending

JavaScript node 13.3.0 /usr/local/bin/node npm 6.13.4 /usr/local/bin/npm
yarn 1.21.1 /usr/local/bin/yarn

Ignite ignite-cli 3.5.1 /usr/local/bin/ignite
ignite src build /Users/samuelbrecher/.config/yarn/global/node_modules/ignite-cli/build navigation react-navigation
generators {"component":"ignite-ir-boilerplate-bowser","model":"ignite-ir-boilerplate-bowser","navigator":"ignite-bowser","screen":"ignite-ir-boilerplate-bowser"}
createdWith 3.5.1
boilerplate ignite-bowser
boilerplateVersion 4.13.0

Android java 11.0.2 /usr/bin/java
android home - /Users/samuelbrecher/Library/Android/sdk

iOS xcode 11.1
cocoapods 1.8.4 /usr/local/bin/pod

nonameolsson commented 4 years ago

Are you still having this problem? I can't reproduce it with the latest boilerplate.

tmaly1980 commented 3 years ago

My problem is even when I fill in the generators, I still get an error message "No generators detected" running "ignite generate". "ignite doctor" shows the list under generators, though. I just installed it yesterday. ignite-bowser 5.3.0

tmaly1980 commented 3 years ago

It looks like rather than using "ignite" (older command), the correct command is "npx ignite-cli", which returns the list of generators properly. It doesn't seem like they need to be in ignite.json at all.