jhipster实体审核在我尝试启用审核时引发异常
jhipster实体审核在我尝试启用审核时引发异常,异常:jhipster实体审核在我尝试启用审核时引发异常,jhipster,yo,Jhipster,Yo,jhipster实体审核在我尝试启用审核时引发异常,异常: 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
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)
不要使用deepu的回购协议,这是一个叉子
使用官方版本或在官方版本上安装最新版本的生成器jhipster 2.27.0,问题的第一部分出现错误我不认为您使用的是最新的官方版本,此错误仅在您使用较旧的jhipster版本时出现。这只适用于Jhipster 2.27do npm安装-g generator Jhipster,然后尝试运行该模块,您是否遵循自述文件中的说明?
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.