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
0
votes
0 answers

Difference between Ionic CLI version and Ionic Version

Can anyone tell me what is the difference between the Ionic Version and Ionic CLI version? I heard that the latest version of Ionic is ionic 5. is it possible I can create an Ionic-Vue app with ionic 5? These are the details: Ionic: Ionic CLI :…
Kenny
  • 61
  • 1
  • 2
  • 4
0
votes
1 answer

I am creating a new page in ionic 5 but it is giving this error **Could not find an NgModule**

When i run ionic g page pages/first Complete error line: Could not find an NgModule. Use the skip-import option to skip importing in NgModule. [ERROR] Could not generate page And When I run ionic g page src/app/pages/first it get the new folder in…
Mab Kiani
  • 576
  • 5
  • 16
0
votes
0 answers

Ionic and Ionic CLI

Is Ionic Framework and Ionic ClI different? I mean to say at present the latest version of Ionic Framework is 5 but when I type ionic -v it shows me 6.10.1, so What is it - Ionic framework 5 or Ionic CLI 6?
0
votes
0 answers

@ionic/cli not installed after installing

I tried to update my ionic cli by removing the ionic package and replacing it with @ionic/cli, but now ionic is no longer a recognized command. Here's what I've tried so far: Node version - v13.13.0 npm version - 6.13.4 exporting prefix to…
Andre
  • 91
  • 8
0
votes
0 answers

ionic 4 menu don't work on android mobile app but works on desktop

Menu works fine on desktop, But when I build an app and run on android menu do not work, It don't even shows menu toggle button in app . App Component :
Kundan
  • 11
  • 1
0
votes
2 answers

Endless loop when running Ionic cordova run android --livereload

I am unable to run the app in livereload mode. command: ionic cordova run android --livereload error: "[INFO] Waiting for connectivity with npm..." - stack in endless loop Ionic info: Ionic: Ionic CLI : 5.4.2…
Jalle
  • 1,566
  • 5
  • 22
  • 42
0
votes
1 answer

ionic serve not working properly How can I fix the error?

I'm a mac user while I am setting JDK environment variable on bash_profile following various blogs & articles I have done a big mistake plz help me to fix it. > Dhirajs-MacBook-Air:spiritualGuru thedkn$ ionic -v Error: EACCES: > permission denied,…
0
votes
1 answer

Reason why if I change common.d.ts ionic serve runs properly

When I execute ionic serve, I have this error: [app-scripts] [15:04:28] transpile started ... [app-scripts] [15:04:42] typescript: ...aceIcaro_5_3B/dev-app/app/node_modules/@ionic-native/core/decorators/common.d.ts, line: 10 [app-scripts] …
IreneC
  • 26
  • 9
0
votes
1 answer

I have a problem in my app ionic 3,when i add ionic cordova resources add android to the use of app icon I have this error :

I have a problem in my app ionic 3,when I add ionic cordova resources add android to the use of app icon I have this error : [ERROR] cordova-res was not found on your PATH. Please install it globally:
user11901164
0
votes
0 answers

Ionic live-reload executes twice on save

Every time I make a change to my code, live-reload executes twice. The first reload is quick (< 1 second), then there is a pause, then another reload fires and takes substantially longer (2 - 3 seconds). When I create a fresh Ionic starter app, I…
Alex Steinberg
  • 1,426
  • 13
  • 25
0
votes
2 answers

Data path "" should NOT have additional properties(src/assets)

I'm trying to add a css to my new ionic project ( Ionic 4), but I'm getting Data path "" should NOT have additional properties(src/assets) I havent done any migration of cli / ionic / angular but still getting this error. I'm sure I have correct…
Srinivasan Sekar
  • 2,049
  • 13
  • 22
0
votes
2 answers

Ionic/Angular Issue Cannot find module './fs'

I have installed node v10 and trying to install Ionic in my mac. When I run sudo npm install -g ionic, it shows ionic 4 installed successfully. But when run ionic -v or ionic serve, it shows the following error internal/modules/cjs/loader.js:583 …
Sujan Gainju
  • 4,273
  • 2
  • 14
  • 34
0
votes
0 answers

Ionic 3 :If this is a project you'd like to integrate with Ionic, create an ionic.config.json file

I'm working with Ionic3: (version 4 is Beta yet) Ionic: ionic (Ionic CLI) : 4.5.0 System: NodeJS : v8.13.0 npm : 6.4.1 OS : Linux 4.13 And I try to run a confirmed project from github (320 stars), so the npm i goes OK, but…
Karim Garali
  • 75
  • 2
  • 13
0
votes
0 answers

Ionic API Error: error.json is not a function

I'm trying to create a mobile application with API Connection to the database. Sometimes I'm not getting any error and it all works fine with the API but usually, I get this kind of error. (See picture below) This is the error I got from the Dev…
0
votes
1 answer

Ionic fails to build or run the application

I'm trying to build my ionic app, but it fails with below error. The error is same with ionic run android command too. The app runs with no error with ionic serve command. I have even tried with ionic cordova build ios and the error remains…
Suroor Ahmmad
  • 1,110
  • 4
  • 23
  • 33