yeoman / environment

Yeoman runtime environment
BSD 2-Clause "Simplified" License
128 stars 71 forks source link

fix: explicitly define and export Package subpath './lib/util/namespace' #451

Closed Rajpratik71 closed 1 year ago

Rajpratik71 commented 1 year ago

On Node 18, "yeoman-environment" package is creating issue due to missing package path export.

Fix https://github.com/jhipster/generator-jhipster/issues/20349

Fix https://github.com/jhipster/generator-jhipster/issues/19627

Signed-off-by: Pratik Raj rajpratik71@gmail.com

Rajpratik71 commented 1 year ago

Due to this application, initialization is failing when using Node 18.

Issues reported at

https://github.com/jhipster/generator-jhipster/issues/20349

https://github.com/jhipster/generator-jhipster/issues/19627

Rajpratik71 commented 1 year ago

cc @mshima @murukal @martincostello

mshima commented 1 year ago

@Rajpratik71 already fixed in https://github.com/yeoman/environment/pull/430. And updated at jhipster v7 maintainance branch. You can install from git npm install jhipster/generator-jhipster#v7.x_maintenance.