Upgrade to JHipster 3.4.2 in Ubuntu 16

JHipster introduced a nice upgrade utility since version 3.4 but it seems it has some issue when you work in Ubuntu.
This is a workaround to get it working



First you have to upgrade your NodeJS and npm version to {"node":">=4.4.0","npm":">=2.14.2"}
To do this in Ubuntu you have first to remove the previous version with:

Then install the newest version with
Ok i know `curl to sudo bash is bad in many ways` but this one works.

If you try `yo jhipster:upgrade` and you end up with errors in write access, here comes something also `bad` but it works.
Now go to your project folder and run `yo jhipster:upgrade` and you are ready. If you have a better solution please let me know.

2 comments:

  1. Thanks for sharing, nice post! Post really provice useful information!

    An Thái Sơn với website anthaison.vn chuyên sản phẩm máy đưa võng hay máy đưa võng tự động tốt cho bé là địa chỉ bán máy đưa võng giá rẻ tại TP.HCM và giúp bạn tìm máy đưa võng loại nào tốt hiện nay.

    ReplyDelete
  2. Kuchi Jewels is a project of Gem & Gems which is a leading exporter since 2005 to onwards in all over the world. Our company has experienced, educated and motivated staff. Our main goal is to meet the international standard B2C and B2B export target with competitive prices and high quality products. pandora necklace canada , pandora necklace australia

    ReplyDelete