Questions tagged [ionic-cli]

Questions related to using the ionic command line interface to interact with ionic framework

ionic-cli is the CLI that helps interact with Ionic framework, such as, creating projects, build projects into specific platforms, adding PhoneGap/Cordova plugins...

Visit its homepage for more information, http://ionicframework.com/docs/cli/

118 questions
28
votes
9 answers

Ionic error of Cordova lower version - Please install your Cordova CLI to version >=4.2.0

Installed Ionic successfully. When running ionic info and other commands like ionic browser --list, I get an error that cordova is lower then version 4. Cordova is installed with no sudo and in global home directory. > ionic info Your system…
elpddev
  • 4,314
  • 4
  • 26
  • 47
19
votes
2 answers

Ionic can't login Request: POST https://api.ionic.io/login No user found by that email

When I try to run any Ionic CLI commands that require login I get a 404 error. Here's the command line.... ? Password: [hidden] Request: POST https://api.ionic.io/login Response: 404 Body: { link: null, message: 'No user found by that email', …
Martin Joiner
  • 3,529
  • 2
  • 23
  • 49
11
votes
2 answers

Why my Ionic CLI commands are a lot slower than Cordova?

I'm using ionic 2.0.0-beta.37, cordova 6.2.0 and node 6.2.0 on OSX 10.11.4 cordova platform list | time ionic platform list real 0m19.449s | real 1m16.809s user 0m0.890s | user 0m2.711s sys 0m0.166s | sys …
Devid Farinelli
  • 7,514
  • 9
  • 42
  • 73
9
votes
2 answers

Create ionic 4 app inside Angular CLI projects structure

I am looking for a way to “ionic start” a project and having it in the projects folder of an existing Angular CLI solution (containing a web app and a lib already).
LDEX
  • 113
  • 1
  • 8
8
votes
1 answer

How to use Ionic CLI with pnpm

How is it possible to use pnpm instead of npm with ionic cli? it has some good benefits rather than npm, Like smaller storage usage, Showing progress when some package is downloading and etc...
Mohammad Reza Mrg
  • 1,552
  • 15
  • 30
8
votes
1 answer

Ionic 3 build not updating -- Android/Mac

I had Ionic 3 working fine for several months, and last week updated to Ionic 4 to test it. My app is written with Ionic 3. Now, ionic cordova build android doesn't update the build. Ionic serve works fine. I'm able to run ionic cordova build…
Eli Cohn
  • 116
  • 3
6
votes
5 answers

How can I disable automatic updates in ionic-cli 3.30?

I need to stop Ionic CLI from checking for updates whenever I run an ionic command. This prevents me from even running the app offline. An illustration is as : C:\Users\TO-004\Desktop\EzyMarketplace\EzyExtension-App-2017-master>ionic serve ? The…
Raphael
  • 291
  • 1
  • 3
  • 16
5
votes
3 answers

How to deploy Ionic 4 app to Github pages?

I have a problem deploying Ionic 4 app to Github pages. I tried follwing a tutorial for uploading Angular app but it does not work. It keeps throwing errors of all kinds. Does anyone can help? Thanks a lot.
Petya Naumova
  • 727
  • 2
  • 11
  • 23
5
votes
2 answers

Cordova commands aren't recognized after installing ionic-cli-4

during project I wanted to emulate ( ionic cordova emulate ios ) then it asked me ( and I usually say yes ): ? The Ionic CLI (local version) has an update available (3.20.0 => 4.0.1)! Would you like to install it? Yes > npm i -D -E ionic@latest ✔…
Ricky Levi
  • 7,298
  • 1
  • 57
  • 65
5
votes
1 answer

How to change default tab indent size when creating file with ionic generate command?

I was trying to figure out the way i can change the default tab indent size of my TS files generated by Ionic CLI Whenever i run ionic generate command it creates the file with tab indention of 2 spaces How can i make it to default 4?
powercoder23
  • 1,404
  • 1
  • 13
  • 22
5
votes
2 answers

how to add android and ios platform in ionic cli 3.3.0

I update ionic and trying to add android and ios platform but i could not add it. it shows me following message in console. js20@js20:~/Desktop/project$ ionic platform add android The platform command has been renamed. To find out more, run: ionic…
Harish Mahajan
  • 3,254
  • 4
  • 27
  • 49
5
votes
2 answers

Ionic 3 CLI unable to start project behind proxy

I'm new to Ionic. I'm facing proxy issues while getting started with Ionic 3. After installing Ionic & cordova via npm tried to create a new project with the below command as suggested by ionic help npm install -g @ionic/cli-plugin-proxy followed…
Yoda
  • 116
  • 2
  • 7
5
votes
3 answers

Ionic 2 change name of main.js ( webpack.js output.filename setting)

We have an Ionic 2 App that is deployed natively and also to the web. When building I use npm run build --prod --release. That just wraps ionic build. I'm trying to update our build process to be able to swap out the default main.js. that is in…
Nix
  • 57,072
  • 29
  • 149
  • 198
5
votes
2 answers

Failed to load resource file:///android_asset/www/cordova_plugins.js Ionic CLI Version: 2.0.0-alpha.18

I recently updated my Ionic CLI version to 2.0.0-alpha.18 and since then whenever I try to build out my app using Ionic build android, when I run the apk on my device I get this error message: Failed to load resource…
user3407300
  • 419
  • 1
  • 5
  • 12
4
votes
0 answers

How to disable auto generation routing-module in Ionic CLI 5?

I'm kinda new on Ionic and I'm currently using Ionic CLI 5.4.15 and @ionic/angular 4.11.10. When I want to generate new page, each page is now automatically creating an associated routing-module.ts and I was wondering if it was possible to disable…
Mhystos
  • 51
  • 1
1
2 3 4 5 6 7 8