无法使用jhipster导入jdl

强文本我正在使用JHipster v6.5.0。我的蓝图是generator-jhipster-vuejs。我的数据库是Postgresql。我已经为这个jhipster项目工作了大约2个月。今天,我更新了jdl,从那时起,我无法使用此命令jhipster import-jdl jhipster-jdl.jh导入它。它说INFO! No change in entity configurations,no entities were updated.我也尝试过jhipster import-jdl jhipster-jdl.jh --force。它说

events.js:174
      throw er; // Unhandled 'error' event
      ^
TypeError: Cannot read property 'charAt' of undefined

    at rewrite (C:\Users\0568\AppData\Roaming\npm\node_modules\generator-jhipster-vuejs\node_modules\generator-jhipster\generators\utils.js:117:38)
    at Object.rewriteFile (C:\Users\0568\AppData\Roaming\npm\node_modules\generator-jhipster-vuejs\node_modules\generator-jhipster\generators\utils.js:63:18)
    at Object.addEntityToRouterImport (C:\Users\0568\AppData\Roaming\npm\node_modules\generator-jhipster-vuejs\generators\utils.js:136:19)

我也尝试导入以前导入的jdl,但无法导入它们。

mingmingzining 回答:无法使用jhipster导入jdl

您已经在更新vuejs蓝图之前更新了JHipster,所需的更改已于7个小时前在https://github.com/jhipster/jhipster-vuejs/pull/493/commits/c849040e2fa932ce96dd0385fe994a8e91d6db63中进行了合并,但尚未发布。

现在您必须等待下一个vuejs蓝图发行版,在master上使用本地克隆或使用JHipster 6.4.1

下次在更新JHipster之前,请在https://github.com/jhipster/jhipster-vuejs/releases或package.json中的发行说明中检查蓝图支持哪个版本。

本文链接:https://www.f2er.com/3119648.html

大家都在问