generator-jhipster-primeng: Cannot read property 'clientWebpack' of undefined
When using yo jhipster-primeng
on a new jhipster project, this exception is thrown after selecting the components to use
`events.js:183 throw er; // Unhandled ‘error’ event ^
TypeError: Cannot read property ‘clientWebpack’ of undefined ` generator version : 2.2.0 jhipster version: 5.8.1 node version: 8.15.0 npm version: 6.4.1
This happens no matter what theme/component is selected
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 27 (13 by maintainers)
Commits related to this issue
- Load needleApi with a lazyLoading getter Instead of initialise needleApi in the constructor we have to do it in a getter to be sur it's never undefined (backwards compatibility) https://github.com/s... — committed to avdev4j/generator-jhipster by avdev4j 5 years ago
- Fix needleApi call to the wrong api addExternalResourcesToRoot belong to client not base API https://github.com/sudheerj/generator-jhipster-primeng/issues/67 — committed to avdev4j/generator-jhipster by avdev4j 5 years ago
Thanks for testing. Now I’am waiting for the new release from JHipster.
I’m agree.
IMO my PR is ready to merge, I also added unit tests to prevent other regressions.