Reputation: 25
strong textI am using JHipster v6.5.0. My blueprint is generator-jhipster-vuejs. My database is Postgresql. I have been working to this jhipster project for around 2 months. Today I updated my jdl and since then I can not import it using this command jhipster import-jdl jhipster-jdl.jh
. It says INFO! No change in entity configurations, no entities were updated.
I also tried jhipster import-jdl jhipster-jdl.jh --force
. it says
events.js:174
throw er; // Unhandled 'error' event
^
TypeError: Cannot read property 'charAt' of undefined
at rewrite (C:\Users\0568\AppData\Roaming\npm\node_modules\generator-jhipster-vuejs\node_modules\generator-jhipster\generators\utils.js:117:38)
at Object.rewriteFile (C:\Users\0568\AppData\Roaming\npm\node_modules\generator-jhipster-vuejs\node_modules\generator-jhipster\generators\utils.js:63:18)
at Object.addEntityToRouterImport (C:\Users\0568\AppData\Roaming\npm\node_modules\generator-jhipster-vuejs\generators\utils.js:136:19)
I also tried to import previously imported jdl but could not import them.
Upvotes: 0
Views: 2116
Reputation: 16284
You have updated JHipster before the vuejs blueprint has been updated, the required changes were merged 7 hours ago in https://github.com/jhipster/jhipster-vuejs/pull/493/commits/c849040e2fa932ce96dd0385fe994a8e91d6db63 and have not been yet released.
Now you have to wait for next vuejs blueprint release, use a local clone on master or use JHipster 6.4.1
Next time before updating JHipster, check which version is supported by the blueprint in the release notes at https://github.com/jhipster/jhipster-vuejs/releases or in package.json.
Upvotes: 1