强文本我正在使用JHipster v6.5.0。我的蓝图是发电机。我的数据库是Postgresql。我已经工作了约2个月的这个jhipster项目。今天,我更新了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,但无法导入它们。
发布于 2019-11-12 12:29:27
在vuejs蓝图更新之前,您已经更新了JHipster,所需的更改在7小时前在https://github.com/jhipster/jhipster-vuejs/pull/493/commits/c849040e2fa932ce96dd0385fe994a8e91d6db63中合并,并且尚未发布。
现在您必须等待下一个vuejs蓝图版本,在主服务器上使用本地克隆,或者使用JHipster 6.4.1。
下一次更新JHipster之前,检查https://github.com/jhipster/jhipster-vuejs/releases或package.json发布说明中的蓝图支持哪个版本。
https://stackoverflow.com/questions/58812889
复制相似问题