Little bird
Little bird

Reputation: 31

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/util/namespace' is not defined by "exports"

When I enter jhipster in the cmd command, I get an error Package subpath './lib/util/namespace' is not defined by "exports" in C:Program Filesnodejsnode_globalnode_modulesgenerator-jhipsternode_modules yeoman-environmentpackage.json。I hope someone helps me, thanks

I tried typing npm update

Upvotes: 3

Views: 2596

Answers (1)

vudangngoc
vudangngoc

Reputation: 148

there is a bug of Jhipster with new version of NodeJS https://github.com/jhipster/generator-jhipster/issues/19627

Upvotes: 3

Related Questions