0
jhipster實體審計拋出異常,當我嘗試啓用審覈,異常: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 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試圖下載發電機jhipster,現在我有問題,開始時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.
在官方版本上,出現了第一部分問題 – sanitar4eg
的錯誤我不認爲你使用的是最新的官方版本,這個錯誤只有在你使用較舊的Jhipster版本。這隻適用於Jhipster 2.27 – Deepu
首先執行npm install -g generator-jhipster,然後嘗試運行模塊,您是否按照自述文件中的說明操作? – Deepu