ionic-cli

Cannot update Ionic-CLI

三世轮回 提交于 2019-12-25 16:48:54
问题 I'm having an issue updating to the latest version of Ionic. I became aware of the issue when I tried to run the command ionic g provider Tabs and got g is not a valid task in response. I have three versions of NodeJS installed, that I switch between with NVM. I tried removing Ionic and Cordova from all three, updating NPM, and re-installing in just the latest version of Node. Still no luck. My system info is as follows below: ` Cordova CLI: You have been opted out of telemetry. To change

How to deploy Ionic 4 app to Github pages?

只愿长相守 提交于 2019-12-23 05:01:51
问题 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. 回答1: Here is how to use angular-cli-ghpages with Ionic 4: Create your Ionic project ( ionic start MyApp blank ) Install the plugin: npm i angular-cli-ghpages --save Connect your project with your github repository. Navigate in the terminal to your project directory and execute ionic build

Ionic serve not working in Ionic 3

无人久伴 提交于 2019-12-01 12:10:36
问题 My Ionic info: cli packages: (/usr/lib/node_modules) @ionic/cli-utils : 1.9.2 ionic (Ionic CLI) : 3.9.2 global packages: Cordova CLI : 7.0.1 local packages: @ionic/app-scripts : 3.1.0 Cordova Platforms : browser 4.1.0 Ionic Framework : ionic-angular 3.9.2 System: Node : v6.9.0 npm : 3.10.8 OS : Linux 4.4 Ionic serve is working fine, but does not detect any file changes! The problem appears only for Ionic v3 and v2 projects. My Ionic v1 projects are working fine. 回答1: For update changes in

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

左心房为你撑大大i 提交于 2019-11-30 06:18:43
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', type: 'NotFound' } I am definitely entering the correct account details, to ensure this I even created several new accounts at https://dashboard.ionicjs.com/signup , ensured I had validated the email address but still the same error. (I have just lost 8 hours to this problem so am posting Q&A here to help others.) This error is due to the fact that Ionic

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

夙愿已清 提交于 2019-11-29 06:09:19
问题 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', type: 'NotFound' } I am definitely entering the correct account details, to ensure this I even created several new accounts at https://dashboard.ionicjs.com/signup, ensured I had validated the email address but still the same error. (I have just lost 8