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
1
vote
1 answer

Cannot find type definitions for underscore and meteor

I am going through the ionic and meteor integration with webpack tutorial from angular-meteor.com However no matter what I try I keep getting these two errors. I have tried installing typings with npm, searching google, or finding similar errors…
1
vote
1 answer

Ionic 2 cannot upload project

I am new to Ionic 2 and try to upload project to ionic cloud behind a proxy server. I followed the setup steps, https://docs.ionic.io/setup.html, but there is a connection error as below, I supposed it was caused by proxy server. I just wonder if…
Sean Sun
  • 496
  • 1
  • 4
  • 14
1
vote
0 answers

cli-plugin-ionic1: TypeError: Cannot read property 'toString' of undefined

I ran ionic serve in the Ionic v1 template.(https://github.com/jdnichollsc/Ionic-ElastiChat-with-Images.git) It asked me to install the Gulp plugin and cli-plugin-ionic1 and I installed them. But it crashes with the following logs: TypeError: Cannot…
1
vote
3 answers

ionic 2: Can't create resources (icon, splash)

I'm using Mac. I'm trying to generate icons and splash screens using the command ionic cordova resources ios --icon but I always get this error: [WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your…
Islam Mohamed
  • 319
  • 1
  • 4
  • 14
1
vote
2 answers

It's possible to use ionic-cli 3.0.0 without typescript and angular?

I just want to use ionic livereload provided by ionic serve, but just using vanilla javascript without typescript or angular things. If it's possible, how can I achieve that? Until now, I only have errors like: [ERROR] Error occurred while loading…
Paulo Alexandre
  • 764
  • 1
  • 9
  • 20
1
vote
1 answer

ionic3 tabs layout, how to keep the state when ionic serve reload in chrome

I use ionc3 with 'tabs layout', 'ionic serve', 'IonPageModule' for development, in chrome. when I edit the other component(not the first tab's root page ) and saved it. the browser reload and always navigate to the first tab's root…
viola
  • 60
  • 7
1
vote
1 answer

Error while building ionic 2 app with latest cli

Help! I'm desperate....can't get this fixed. Error while building, see below. ionic cordova:build platform android --debug TypeError: Cannot read property 'private' of undefined at inputs.filter…
Jeroen
  • 63
  • 6
1
vote
1 answer

Ionic CLI not updating on MAC

I have been trying to update Ionic CLI, I can use the install from NPM and it says it is installing version 2, but if I run Ionic --v it returns 1.7.15. I am guessing it is installed locally, but not sure how I can remove it to let it use the…
bbatie
  • 11
  • 2
1
vote
0 answers

Ionic dev build slow

I just installed Ionic latest version (RC 0) and im using the CLI they have (latest version) - https://github.com/driftyco/ionic-cli They currently have a problem with slow builds when you are in development mode. To the question, is there possible…
xatroN
  • 88
  • 11
1
vote
1 answer

How do I install a specific version of crosswalk using ionic cli2

I currently have an ionic 1 project, but have just switched to using ionic cli2. I previously used to add crosswalk into my project, by running the following command, as mentioned here. ionic browser add crosswalk However, ionic cli2 no longer…
JackDev
  • 4,891
  • 1
  • 39
  • 48
1
vote
1 answer

Ionic CLI ignoring flags/parameters

I think I have an installation problem on a new MacBook set up. All CLI flags/arguments I send to the ionic start command are ignored - in this instance, -a "MyApp and -i com.myapp.app. I have installed all prerequisites (Xcode/npm/cordova, etc.),…
keldar
  • 6,152
  • 10
  • 52
  • 82
0
votes
1 answer

unhandled exception Directory import not supported resolving ES modules imported from architect\node\node-modules-architect-host.js

An unhandled exception occurred: Directory import '\node_modules@angular-devkit\build-angular\src\dev-server' is not supported resolving ES modules imported from \node_modules@angular-devkit\architect\node\node-modules-architect-host.js Did you mean…
0
votes
1 answer

Unable to create ionic 3 project with ionic 6 cli

I have old ionic 3 project which i want into in my machine but its not working here i am creating simple ionic 3 project using below command ionic start Ionic3Project blank --type=ionic-angular It throws lot of error Here is details of ionic-cli…
Wasim
  • 99
  • 11
0
votes
0 answers

Ionic build command

i have same problem whit the command: ionic cordova build android the process termined with successfull and it create the apk. if i send the apk on my smartphone, it see the file same zip and not install The app work all right, and i can test it…
0
votes
1 answer

npm ERR! ERESOLVE unable to resolve dependency tree

I'm Try to create new ionic project, But facing this error Is there anyone know why I got this Error messages ? and how to fix it ? I tried: npm cache clean --force and --force, or --legacy-peer-deps these flag with my command but no any…
Muhammad Usman
  • 361
  • 3
  • 16