Jhipster Ionic entity creation : no such file _entity.html.ejs


Jhipster Ionic entity creation : no such file _entity.html.ejs



I'm new to Jhipster and i'm trying to make my application with Jhipster-Ionic. And i'm stuck with the entity part.



I have created the backend and the ionic app. Now I want to create my entities, I've done it on the backend part but when I do yo jhipster-ionic:entity <myEntity>, and select my backend I got this error :


yo jhipster-ionic:entity <myEntity>



ERROR! Copying template ionic/src/pages/entities/_entity.html.ejs failed. [Error: ENOENT: no such file or directory, open 'node_modulesgenerator-jhipster-ionicgeneratorsentity-clienttemplatesionicsrcpagesentities_entity.html.ejs']





Which version of Jhipster and which version of jhipster-ionic module? I suspect you are mixing incompatible versions. You should report this on github with details at github.com/oktadeveloper/generator-jhipster-ionic/issues
– Gaël Marziou
Jun 29 at 21:24




1 Answer
1



I found what the problem was : I was creating entity in the wrong folder.



I created my Ionic Application from a first folder. This creation made a second folder with the projet in it. And it was from the second folder than I needed to launch the entity creation.



(Also restarted my cmd, reinstalled jhipster-ionic but I don't think it has something to do with it)






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Opening a url is failing in Swift

Export result set on Dbeaver to CSV