Jhipster yo jhipster is not updating existing proj

2019-08-02 16:19发布

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 ?

标签: jhipster
1条回答
Animai°情兽
2楼-- · 2019-08-02 16:48

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

查看更多
登录 后发表回答