title: Ionic 2 & Ionic 1 work on different Node Versions
body: <p>I was having some major build issues with Ionic 1.7.14 on NodeJS v6. Here you can see the problem and some of the solution that people offered me.</p>
  
  <p><a href="https://stackoverflow.com/questions/37078620/ionic-1-app-does-not-build-ios-ionic-project-has-been-renamed-to-ionic-config">ionic.project has been renamed to ionic.config.json, please rename it.</a></p>
  
  <p>For the past 6 months I have been working and two Ionic 1 Apps. earlier last month I began to work with Ionic 2. So I installed it via npm.. It all seem well I was working on Ionic 2 apps but did not quite connect the dots as to why all of the sudden I could not build anything on my past <strong>Ionic 1</strong> apps. </p>
  
  <p><strong><em>FIRST SOLUTION:</em></strong></p>
  
  <p>I re-install Ionic 1.7.14 and I downgraded from Node 6.0 to Node 4.4.4 - voila! It was working once again! <strong>Ionic 1</strong> was building and the CLI understood all my commands.. No more errors.</p>
  
  <p><strong><em>THE CONSEQUENCES:</em></strong></p>
  
  <p>I had to always make sure I was using Node 4.4.4 whenever I wanted to work on Ionic 1.7.x apps.. I use NVM so a simple <code>nvm use 4.4.4</code> would do the trick.
  But when I tried to work on Ionic 2 apps I realized that Ionic 2 was no longer installed and there for had to be re-installed, again. So I did..</p>
  
  <p><strong><em>RE-OCCURING ISSUE:</em></strong></p>
  
  <p>After re-installing Ionic 2, working a bit on that app  then moving on to continue working on my other <strong>Ionic 1</strong> app I realized that when I tried to run <code>ionic serve</code> the CLI gave me some errors which led me to believe I did not have <strong>ionic 1</strong> installed.. WTH!? Here we go again.. re-install <strong>Ionic 1</strong> version 1.7.x </p>
  
  <p>Later I tried to <code>ionic serve</code> an Ionic 2 app and gulp was not running the build.. It serve the app to the browser but none of my code was being built and implemented into the app. I then realized that the CLI was not running my commands as Ionic 2 but <strong>Ionic 1</strong>.. What now? You guessed it. I had to re-install Ionic 2 </p>
  
  <p><strong><em>THE CONNECTION between Ionic and Node versions</em></strong></p>
  
  <p>So yes, It took me a while to make the connection and I still don't quite understand why this is happening but I've found out that I do not need to repeatedly install Ionic versions as I wish to use them.. I just have to switch between Node Versions instead.</p>
  
  <p>Ionic 2 --> works with Node 6.x
  <strong>Ionic 1</strong> --> works with Node 4.4.4</p>
  
  <p>As long as I am using the respective Node Version with each I have no issues. BUT is this practical? Is there something wrong with my installs and file paths? I am curious if anyone has the same issue.</p>