Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Generators Empty in ignite.json #321

Open
AnonymousSB opened this issue Mar 2, 2020 · 3 comments
Open

Generators Empty in ignite.json #321

AnonymousSB opened this issue Mar 2, 2020 · 3 comments

Comments

@AnonymousSB
Copy link


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
Copy link
Contributor

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

@tmaly1980
Copy link

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
Copy link

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.

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

3 participants