Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Downgrading to Ionic 3?

$
0
0

Hi all,

I have an app I wrote several years ago under Ionic 3. I was asked to port it to Ionic 5 on a VERY short timeline. I’ve tried for days, but Angular and Ionic has changed so much over the past few years that I just don’t have time to port it immediately. Angular isn’t my native language, unfortunately, and I just don’t have time at the moment to port from Ionic3 to Ionic5 with all the changes. :frowning:

In the process of upgrading, I got my env to this:
Ionic:

Ionic CLI : 6.16.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.6.8
@angular-devkit/build-angular : 12.0.1
@angular-devkit/schematics : 12.0.1
@angular/cli : 12.0.1
@ionic/angular-toolkit : 4.0.0

Utility:

cordova-res : not installed globally
native-run : not installed globally

System:

NodeJS : v14.17.0 (/usr/local/bin/node)
npm : 6.14.13
OS : macOS Big Sur

Can anyone help me get everything set back to Ionic3 so I can at least bring up the app? I’ll port later, as time allows. Is it just a matter of adding a version to all the npm commands? As in:
npm install -g ionic@version

I’ve run npm install -g ionic@3.20.0 and that worked, but when I run ionic serve, it complains that I have to install the ionic-app-scripts, and that fails when building sass. That error is Failed at the node-sass@4.5.3 postinstall script. Researching how to get around that now…

Does anyone know if there’s a Docker or BusyBox/Fusion/etc. image that recreates the right environment? That’d work, too. I’ll go look for that now.

Any pointers/help/suggestions are gratefully accepted!

Thanks for your time,

Bret

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>