i start in development with ionic framework and i can't install angularfire, here is a screenshot .
https://i.stack.imgur.com/DBmcu.png
https://i.stack.imgur.com/Y1XrR.png
here are the results that the command return
https://i.stack.imgur.com/gWqs7.png
https://i.stack.imgur.com/FysdZ.png
https://i.stack.imgur.com/y4aId.png
https://i.stack.imgur.com/Llc31.png
Related
following the official getting started tutorial I get the following error when I try to deploy the application in my phone using this command: ionic serve --devapp (it works on browser):
[ERROR] Could not find cordova integration in the default project.
I get this error both on Windows and MacOS.
I'm using Node 6.4.1 and Ionic CLI 4.10.3
Does the official tutorial missing something?
I had the same issue. In fact, with the default project, you have to copy the cordova assets to prepare the native build for mobile.
You can find more info here : Ionic documentation
Try this :
ionic cordova prepare
And then go again with :
ionic serve --devapp
The accepted answer is 100% correct .
But the reason why this occurred for me was that somehow the default was capacitor and not cordova.
so first i ran
ionic integrations disable capacitor
then ran
ionic cordova prepare
which solved my issue
Initaially i was working with ionic 1.7.6 version with many apps. And by today some how i have changed to version 3.0.0. Now when i open my old projects under package.json i see the version as 3.0.0 instead of 1.7.6. And when i do sudo ionic build android it throws me some error to upgrade the version.
So now i have uninstall the ionic & cordova from my system.
Now i want to keep ionic 1 version 1.7.6 as well as ionic 3 version 3.0.0 how can i do it now.
so when ever i open the ionic 1 project i need to work on angularjs with ionic 1 version.
And when ever i open the project that i have created with version 3 i need to work with latest version of angular is with ionic 3..
please some one expalain me what should i need to do ??
Thank in advance !
I suspect you have installed ionic globally. If you want to run the local/project version of ionic you need to sudo ./node_modules/ionic/ionic ....
This will be the version of ionic as defined in the package.json of the project.
You can tuck this nicely away however using npm scripts (in your package.json):
e.g.
"scripts": {
"ionic": "sudo ./node_modules/ionic/ionic build "
}
Ten simply execute npm run ionic -- android
I am new to ionic 2 framework and angular 2 framework.Before going to ionic 2,i were studied the basic introduction about ionic 1.
While considering ionic 1 Framework,if i am going to build a app(works on both android and ios)
we need following things to build an app using ionic framework 1(for Example)
Cordova.js
Package bower provides following files for ionic 1 support.
Ionic.bundle.js
Ionic.bundle.min.js
Ionic.js
Ionic.min.js
Ionic-angular.js
Ionic-angular.min.js
Plugins:-
cordova-plugin-console
cordova-plugin-device
cordova-plugin-splashscreen
cordova-plugin-statusbar
cordova-plugin-whitelist
ionic-plugin-keyboard
On my point of view, from my search results,i were found following for ionic 2 support.
TypeScript
Angular 2
Ionic 2
Could any one tell me,what are the packages,plugins,dependencies need for build an ionic2 mobile app?
First install ionic and cordova
>_ npm install -g ionic cordova
Then download one of the ionic 2 templates.
>_ npm ionic start testapp sidemenu --v2
Then just check the package.json
its all outlined here https://ionicframework.com/docs/v2/setup/installation/
I try to make a new ionic project. when i run this command line
ionic start myProject sidemenu --v2 --ts
it is not working anymore, nothing happens.
This is my environtment setup.
Thanks in advance.
I'm starting to learn Ionic2, I have created a new project with ionic start myproject --v2 and everything works correctly if I do ionic serve.
The build folder is missing in ionic 2 project folder.
Whenever I am trying to download any existing Ionic2 template in that one also build folder missing.
ionic -v 2.0.0-beta.30
cordova -v 6.2.0
node -v v6.2.1
npm -v 3.9.5
your ionic serve build is under www. The native builds ( from ionic build) are under platform.
A little late but I had the same issue and was able to fix it by installing Gulp :
npm install -g gulp
Then I did gulp build.
This solved my issues and generated the build folder as it was supposed to.
First you need to add support for the platform/s you are working with, by executing from Ionic CLI console:
ionic platform add android
or
ionic platform add ios
And then you should build your project by executing:
ionic build android
or
ionic build ios