我用jhipster创建了一个应用程序:客户端和另一个带有: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)'
它适用于'仅限服务器'应用。
生成实体仅适用于“完整应用”?