jhipster:客户端或服务器应用程序中的jhipster:实体错误

jhipster:客户端或服务器应用程序中的jhipster:实体错误,jhipster,Jhipster,我用jhipster:client创建了一个应用程序,另一个用:server创建了一个应用程序,并试图在客户端应用程序中生成一个实体“仅客户端”,但我得到: 'events.js:163 throw er; // Unhandled 'error' event ^ TypeError: Cannot read property 'endsWith' of undefined at constructor.getAngularAppName (/Users/ndj

我用jhipster:client创建了一个应用程序,另一个用:server创建了一个应用程序,并试图在客户端应用程序中生成一个实体“仅客户端”,但我得到:

'events.js:163
      throw er; // Unhandled 'error' event
      ^

TypeError: Cannot read property 'endsWith' of undefined
    at constructor.getAngularAppName (/Users/ndjordjevic/IdeaProjects/jh-client-jwt/node_modules/generator-jhipster/generators/generator-base.js:1604:65)
    at constructor.getConfig (/Users/ndjordjevic/IdeaProjects/jh-client-jwt/node_modules/generator-jhipster/generators/entity/index.js:160:40)
    at Object.<anonymous> (/Users/ndjordjevic/IdeaProjects/jh-client-jwt/node_modules/yeoman-generator/lib/index.js:417:23)
    at /Users/ndjordjevic/IdeaProjects/jh-client-jwt/node_modules/run-async/index.js:25:25
    at /Users/ndjordjevic/IdeaProjects/jh-client-jwt/node_modules/run-async/index.js:24:19
    at /Users/ndjordjevic/IdeaProjects/jh-client-jwt/node_modules/yeoman-generator/lib/index.js:418:9
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)'
'events.js:163
投掷者;//未处理的“错误”事件
^
TypeError:无法读取未定义的属性“endsWith”
位于constructor.getAngularAppName(/Users/ndjordjevic/IdeaProjects/jh client jwt/node_modules/generator jhipster/generators/generator base.js:1604:65)
在constructor.getConfig(/Users/ndjordjevic/IdeaProjects/jh client jwt/node_modules/generator jhipster/generators/entity/index.js:160:40)
反对。(/Users/ndjordjevic/IdeaProjects/jh client jwt/node_modules/yeoman generator/lib/index.js:417:23)
at/Users/ndjordjevic/IdeaProjects/jh client jwt/node_modules/run async/index.js:25:25
at/Users/ndjordjevic/IdeaProjects/jh client jwt/node_modules/run async/index.js:24:19
at/Users/ndjordjevic/IdeaProjects/jh client jwt/node_modules/yeoman generator/lib/index.js:418:9
运行回调时(timers.js:672:20)
在tryOnImmediate(timers.js:645:5)
在processImmediate[as_immediateCallback](timers.js:617:5)]
它在“仅服务器”应用程序中工作


生成实体仅用于“完整应用程序”?

此错误意味着生成器无法在.yo-rc.json文件中找到您的angular应用程序名称,您可以尝试手动添加它。此错误意味着生成器无法在.yo-rc.json文件中找到您的angular应用程序名称,您可以尝试手动添加它。