Is there a known Node version for building both 7.0 and 7.2 themes?

Lee Jordan, modified 5 Years ago. Expert Posts: 449 Join Date: 5/26/15 Recent Posts
Curious to know if anyone has a node version number that allows for both 7.0 and 7.2 themes to build via gulp at the same time. If I upgrade to Node 10, 7.2 themes build excellently, yet if I have Node 10 my 7.0 themes stop building. Downgrading back to a circa 2016 version like Node 2.4 then allows me to continue to work on 7.0 themes while getting ready for 7.2.


Really the workaround I have right now is two machines. I still need to support, develop and release to our 7.0 instance but also getting ready for the 7.2 build I almost need a second development machine so I can do both things at the same time.Yo under Node 2.4 quit working, if I go to Node 10 no issues.
L Winchester, modified 5 Years ago. Junior Member Posts: 50 Join Date: 9/21/16 Recent Posts
I would like to know the answer to this question as well.

I have several 7.0 and 7.1 themes that I need to maintain and continue to develop, but now need to develop a 7.2 theme. I haven't figured out how to install and run both versions of Liferay Theme Generator that are needed, since v8 only builds 7.0 and 7.1, and v9 builds 7.2 only. Thought I had found something in the docs about it at one point, but now can't find it... Are you running both versions of the theme generator?

Learning that I may also have to roll back my Node version to continue work on older themes is depressing.