I have been trying for 3 increasingly frustrating days now to install ionic/cli 7.5 or 8 for a new angular/standalone project. I have tried this on my primary Debian linux development machine AND a fresh debian install on an old gaming laptop I had sitting around. In both cases I see:
andy@Andy-Game:~$ node -v
v22.5.1
andy@Andy-Game:~$ npm -v
10.8.2
andy@Andy-Game:~$ ionic -v
-bash: /home/andy/.nvm/versions/node/v22.5.1/bin/ionic: No such file or directory
andy@Andy-Game:~$ npm install -g @ionic/cli@latest
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated superagent@8.1.2: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See Update formidable by tomstrong64 · Pull Request #1800 · ladjs/superagent · GitHub for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.netadded 204 packages in 6s
andy@Andy-Game:~$ ionic -v
7.2.0
I also tried forcing it to install 7.5 or 8 with “npm install -g @ionic/cli@8” and get “No matching version found for @ionic/cli@8”
I assume I am doing something really “stupid nube” that prevents me from fetching the latest versions, but I can’t figure out what.
And If I go ahead and do ionic/angular/standalone app development with 7.2.0, I run into all sorts of issues because versions < 7.5.0 don’t fully support standalone apps.
Please someone show me where I am messing this up.
Thank you.