mshima / generator-jhipster-tenantview

Customization for tenancy and multi-tenancy
9 stars 3 forks source link

generator-hispter@6.10.0 not found #44

Closed jairo-henao closed 4 years ago

jairo-henao commented 4 years ago

I am using generator-jhipster@6.10.0

When I execute the command npm install -g generator-jhipster-tenantview the following WARN is displayed:

npm WARN generator-jhipster-tenantview@1.0.0 requires a peer of generator-jhipster@>=6.9.0 but none is installed. You must install peer dependencies yourself.
npm WARN generator-jhipster-customizer@0.4.0 requires a peer of generator-jhipster@>=6.9.0 but none is installed. You must install peer dependencies yourself.

+ generator-jhipster-tenantview@1.0.0
updated 1 package in 1.828s

How can i fix it?

mshima commented 4 years ago

This is a waning only. Related to npm not managing peer-dependencies.

jairo-henao commented 4 years ago

Thanks,

When I generated the new project, the JHipster assistant did not ask me which was the entity that manages the tenant.

Then a new entity that is tenant aware does not know the field and throws an error in the generation.

mshima commented 4 years ago

I recommend to start from a jdl, eg: https://github.com/mshima/generator-jhipster-tenantview/blob/master/test-integration/samples/jdl-definition/app.jdl. Or try to executing jhipster --blueprints tenantview --tenant-name YourTenant

Please open a new issue, since the original one has been answered.