当我尝试启用审计时,jhipster-entity-audit 抛出异常
jhipster-entity-audit threw exception when i try enable audit
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 的新手。
请告诉我这个问题的最佳解决方案
更新:
我正在尝试从此 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.
不要使用 deepu 的 repo,它是一个 fork
使用官方或安装最新版本generator-jhipster2.27.0
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 的新手。
请告诉我这个问题的最佳解决方案
更新:
我正在尝试从此 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.
不要使用 deepu 的 repo,它是一个 fork
使用官方或安装最新版本generator-jhipster2.27.0