我正在尝试将我的 jdl 文件导入我的 jhipster 项目,但出现以下错误:
$ jhipster import-jdl ./Assets/jhipster-jdl.jh --serverOnly
Using JHipster version installed globally
Executing jhipster:import-jdl ./Assets/jhipster-jdl.jh
Options: serverOnly: true, server-only: true
The JDL is being parsed.
Error: Valid source and destination entities are required.
ERROR! ERROR! Error while parsing applications and entities from the JDL Error: Valid source and destination entities are required.
Error: ERROR! Error while parsing applications and entities from the JDL Error: Valid source and destination entities are required.
at Environment.error (/usr/local/lib/node_modules/generator-jhipster/node_modules/yeoman-environment/lib/environment.js:157:40)
at module.exports.error (/usr/local/lib/node_modules/generator-jhipster/generators/generator-base.js:1978:18)
at module.exports.importJDL (/usr/local/lib/node_modules/generator-jhipster/generators/import-jdl/index.js:115:14)
at new ImporterGenerator (/usr/local/lib/node_modules/generator-jhipster/generators/import-jdl/index.js:80:38)
at new module.exports (/usr/local/lib/node_modules/generator-jhipster/generators/import-jdl/index.js:122:9)
at Environment.instantiate (/usr/local/lib/node_modules/generator-jhipster/node_modules/yeoman-environment/lib/environment.js:408:12)
at Environment.create (/usr/local/lib/node_modules/generator-jhipster/node_modules/yeoman-environment/lib/environment.js:386:17)
at Environment.run (/usr/local/lib/node_modules/generator-jhipster/node_modules/yeoman-environment/lib/environment.js:443:28)
at runYoCommand (/usr/local/lib/node_modules/generator-jhipster/cli/cli.js:63:13)
at Command.command.allowUnknownOption.description.action (/usr/local/lib/node_modules/generator-jhipster/cli/cli.js:83:13)
这是说我没有要导入的有效 jdl 文件。查看我的 jdl,我找不到任何语法错误,并且错误消息没有给我一行。有任何想法吗?