JHipster export-jdl问题

时间:2018-10-05 11:39:56

标签: java jhipster jdl

我有一个测试项目。 我误删除了jdl文件。 现在,当我尝试使用

从现有项目中重新创建jdl文件时
jhipster export-jdl

我收到此消息:

Using JHipster version installed locally in current project's node_modules
Executing jhipster:export-jdl
Options: 
Parsing entities from .jhipster dir...
The passed validation must be valid.
Errors: No value
events.js:183
  throw er; // Unhandled 'error' event
  ^

Error: ERROR! 
Error while parsing entities to JDL

at Environment.error (/home/igor/Development/IdeaProjects/StoVehiclesManagementSystems/node_modules/generator-jhipster/node_modules/yeoman-environment/lib/environment.js:157:40)
at module.exports.error (/home/igor/Development/IdeaProjects/StoVehiclesManagementSystems/node_modules/generator-jhipster/generators/generator-base.js:2048:18)
at module.exports.generateJDLFromEntities (/home/igor/Development/IdeaProjects/StoVehiclesManagementSystems/node_modules/generator-jhipster/generators/generator-base-private.js:1002:18)
at module.exports.parseJson (/home/igor/Development/IdeaProjects/StoVehiclesManagementSystems/node_modules/generator-jhipster/generators/export-jdl/index.js:39:33)
at Object.<anonymous> (/home/igor/Development/IdeaProjects/StoVehiclesManagementSystems/node_modules/yeoman-generator/lib/index.js:418:27)
at /home/igor/Development/IdeaProjects/StoVehiclesManagementSystems/node_modules/run-async/index.js:25:25
at new Promise (<anonymous>)
at /home/igor/Development/IdeaProjects/StoVehiclesManagementSystems/node_modules/run-async/index.js:24:19
at self.env.runLoop.add.completed (/home/igor/Development/IdeaProjects/StoVehiclesManagementSystems/node_modules/yeoman-generator/lib/index.js:419:13)
at runCallback (timers.js:810:20)

有什么问题吗?

0 个答案:

没有答案