我使用JDL Studio创建文件没有错误,但是使用jhipster cli导入文件时出现以下错误:
使用当前项目的node_modules中本地安装的JHipster版本执行jhipster:import-jdl ./thearthacker-jdl.jh
选项:
正在解析jdl。
events.js:182
投掷者 //未处理的“错误”事件
^
错误:ERROR!
从JDL解析实体时出错
在Environment.error(E:\ web_project \ _PROJECT \ thearthackers \ node_modules \ yeoman-environment \ lib \ environment.js:140:40)
构造函数错误(E:\ web_project \ _PROJECT \ thearthackers \ node_modules \ generator-jhipster \ generators \ generator-base.js:1686:18)
在builder.parseJDL(E:\ web_project \ _PROJECT \ thearthackers \ node_modules \ generator-jhipster \ generators \ import-jdl \ index.js:108:22)
在对象。(E:\ web_project \ _PROJECT \ thearthackers \ node_modules \ yeoman-generator \ lib \ index.js:417:23)
在E:\ web_project \ _PROJECT \ thearthackers \ node_modules \ …