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 npm\node_modules\generator-jhipster-entity-audit\node_modules\ye
nc\index.js:24:25
at processImmediate [as _immediateCallback] (timers.js:383:17)
我发现有关此问题的问题generator-jhipster-entity-audit,但我在npm中问题。
请告诉我这个问题的最佳解决方案
UPD:
我尝试从此repo下载generator-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.
答案 0 :(得分:0)
不要使用deepu的repo,这是一个fork
使用官方或安装最新版本的generator-jhipster 2.27.0