Jhipster yo jhipster is not updating existing project

半腔热情 提交于 2019-12-11 05:54:45

问题


I have created a project using Jhipster v4.0.5. Now have upgraded generator-jhipster to latest one i.e. v4.0.7 and tried to upgrade my existing project manually. But upgrade is not happening because no single file is changed after using command yo jhipster or yo jhipster --with-entities. Have confirmed this through '.yo-rc.json', it is still showing {"jhipsterVersion": "4.0.5"}.

Does anyone know fix for this issue ?


回答1:


You're probably using the generator-jhipster in your project's node_modules folder, delete it and re-run npm install or yarn install.

Why don't you use yo jhipster:upgrade rather than re-generating everything and losing all your customizations? See documentation



来源:https://stackoverflow.com/questions/42556955/jhipster-yo-jhipster-is-not-updating-existing-project

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!