You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Unable to create a second entity after starting a new project
This is the error that I got after creating the second entity
events.js:174
throw er; // Unhandled 'error' event
^
TypeError: Cannot read property 'toLowerCase' of undefined
at Function.plural (C:\Users\HASHVIN\Documents\lov-admin\node_modules\pluralize\pluralize.js:133:24)
at pluralize (C:\Users\HASHVIN\Documents\lov-admin\node_modules\pluralize\pluralize.js:174:46)
at context.relationships.forEach.relationship (C:\Users\HASHVIN\Documents\lov-admin\node_modules\generator-jhipster\generators\entity\index.js:933:74)
at Array.forEach (<anonymous>)
at module.exports.loadInMemoryData (C:\Users\HASHVIN\Documents\lov-admin\node_modules\generator-jhipster\generators\entity\index.js:877:39)
at Object.<anonymous> (C:\Users\HASHVIN\Documents\lov-admin\node_modules\yeoman-generator\lib\index.js:647:25)
at C:\Users\HASHVIN\Documents\lov-admin\node_modules\run-async\index.js:49:25
at new Promise (<anonymous>)
at C:\Users\HASHVIN\Documents\lov-admin\node_modules\run-async\index.js:26:19
at self.env.runLoop.add.completed (C:\Users\HASHVIN\Documents\lov-admin\node_modules\yeoman-generator\lib\index.js:648:11)
Emitted 'error' event at:
at Immediate.setImmediate (C:\Users\HASHVIN\Documents\lov-admin\node_modules\yeoman-generator\lib\index.js:668:20)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
To Reproduce
Steps to reproduce the behavior:
Create new project
Create 1st entity with entity generator
Create 2nd entity with many to one relationship to 1st entity
See error
Desktop (please complete the following information):
OS: Windows 10
NodeJS v10.20.1
The text was updated successfully, but these errors were encountered:
Hi @khashvin , thanks for the feedback!! But could you please add the steps command that you have executed with the entity name? Maybe you have choosen a name not allowed.
Describe the bug
Unable to create a second entity after starting a new project
This is the error that I got after creating the second entity
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: