jhipster-entity-audit在我尝试启用审计时抛出了异常,异常:
Reading the JHipster project configuration for your module
events.js:141
throw er; // Unhandled 'error' event
^
TypeError: jhipsterFunc.copyTemplate is not a function
at null.<anonymous>
at Array.forEach (native)
at copyFiles
at module.exports.yeoman.generators.Base.extend.writing.writeBaseFiles
at Object.<anonymous>
at npmnode_modulesgenerator-jhipster-entity-auditnode_modulesye
ncindex.js:24:25
at processImmediate [as _immediateCallback] (timers.js:383:17)
我发现了有关此问题生成器-jhipster-entity-audit的问题,但我在 npm 中乞求。
请告诉我这个问题的最佳解决方案
上级:
我尝试从这个存储库下载生成器-jhipster,现在我在启动 jhipster-entity-audit 时遇到问题:
Error jhipster-entity-audit
You don't seem to have a generator with the name jhipster:modules installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 9 registered generators run yo with the `--help` option.
不要使用 deepu 的存储库,这是一个分支
使用官方或安装最新版本的生成器-jhipster 2.27.0