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.


  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.

  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

  3. Romania is considered to be a developing nation. The developmental stage of a nation is determined by a number of factors including, but not limited to, economic prosperity, life expectancy, income equality, and quality of life. As a developing nation, Romania may not be able to offer consistent social services to its citizens. http://www.confiduss.com/en/jurisdictions/romania/economy/