ionic3
Ionic 3 Component vs Page
Based on the conversation from the comments: It may be the same from the Angular point of view, but Pages and Components have a different meaning in Ionic. In terms of Angular, both are just components, but in the context of Ionic, a Page is a component that will act as an entire view (it … Read more
Error: Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.60-eap-25 in Ionic 3
The problem lies in the cordova-support-google-services plugin for Cordova. This plugin’s build.gradle looks like this as of today (October 24th, 2019): dependencies { classpath ‘com.android.tools.build:gradle:+’ classpath ‘com.google.gms:google-services:4.2.0’ } More exactly the problem lies in this dependency: classpath ‘com.android.tools.build:gradle:+’ That is an extremely brittle way of specifying dependencies. The ‘+’ sign here means “fetch the most … Read more
npm install ->Failed at the node-sass@4.5.0 postinstall script
Got the same problem (node v10.3.0, ionic 3.13.0). This worked : Delete package-lock.json, Delete node_modules folder, Run npm install again.
Component is part of the declaration of 2 modules
Remove the declaration from AppModule, but update the AppModule configuration to import your AddEventModule. ….. import { AddEventModule } from ‘./add-event.module’; // <– don’t forget to import the AddEventModule class @NgModule({ declarations: [ MyApp, HomePage, Login, Register, //AddEvent, <— remove this EventDetails ], imports: [ BrowserModule, IonicModule.forRoot(MyApp), HttpModule, AngularFireModule.initializeApp(config), AddEventModule, // <— add this import … Read more
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory in Ionic 3
For a non-Angular general answer for those who land on this question from Google: Every time you face this error it’s probably because of a memory leak or difference between how Node.js <= 10 and Node.js > 10 manage memory. Usually just increasing the memory allocated to Node.js will allow your program to run but … Read more