Alguien me ayuda con esto , nose que pasa , soy nuevo

You need to add it to @NgModule({ ... in app/app.modules.ts

probably in the providers: [ array

no entiendo amigo asi ? porfa ayudame

yes | sí, ese es el boleto

ahora me sale esto amigo

remove MyApp from entryComponents: [ array

sigue igual amigo :frowning:

¿Puedes mostrarme la aplicación.modules.ts aquí? haga clic en </> y pegue el texto entre

import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
import { AgmCoreModule } from '@agm/core';
import { HttpModule } from '@angular/http';


import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
import { RestaurantPage } from '../pages/restaurant/restaurant';
import { AgregarRestaurantPage } from './../pages/agregar-restaurant/agregar-restaurant';
import { AppRate } from '@ionic-native/app-rate';

@NgModule({
  declarations: [
    MyApp,
    HomePage,
    RestaurantPage,
    AgregarRestaurantPage,

  ],
  imports: [
    BrowserModule,
    HttpModule,
    IonicModule.forRoot(MyApp),
    AgmCoreModule.forRoot({
      apiKey: 'AIzaSyCsk9OLDVfDS18F8Dg6_xEp-kpiTf8qA4M'
    }),

  ],
  bootstrap: [IonicApp],
  entryComponents: [
    HomePage,
    RestaurantPage,
    AgregarRestaurantPage
  ],
  providers: [
    StatusBar,
    SplashScreen,
    {provide: ErrorHandler, useClass: IonicErrorHandler},
    AppRate
  ]
})
export class AppModule {}

elimine todas las líneas de MyApp de aquí, no necesita importarlas :wink:

elimine todo mira , pero si elimino IonicModule.forRoot(MyApp), me bota un error

que borraste? muéstrame el archivo de nuevo

import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
import { AgmCoreModule } from '@agm/core';
import { HttpModule } from '@angular/http';



import { HomePage } from '../pages/home/home';
import { RestaurantPage } from '../pages/restaurant/restaurant';
import { AgregarRestaurantPage } from './../pages/agregar-restaurant/agregar-restaurant';
import { AppRate } from '@ionic-native/app-rate';

@NgModule({
  declarations: [
    HomePage,
    RestaurantPage,
    AgregarRestaurantPage,

  ],
  imports: [
    BrowserModule,
    HttpModule,
    IonicModule.forRoot(MyApp),
    AgmCoreModule.forRoot({
      apiKey: 'AIzaSyCsk9OLDVfDS18F8Dg6_xEp-kpiTf8qA4M'
    }),

  ],
  bootstrap: [IonicApp],
  entryComponents: [
    HomePage,
    RestaurantPage,
    AgregarRestaurantPage
  ],
  providers: [
    StatusBar,
    SplashScreen,
    {provide: ErrorHandler, useClass: IonicErrorHandler},
    AppRate
  ]
})
export class AppModule {}

lo siento, lo miré mal, lo puse de nuevo

remove the AppRate references from app.modules.ts, does it run

no entiendo elimino todo lo que dice AppRate ?

Amigo porfa ayudame, nose si tienes facebook o por gmail, te pasaria el proyecto, ando haciendo esto para una feria tecnologica en la uni y quiero presentarla , porfa :frowning:

return to this in app.modules.ts

import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
import { AgmCoreModule } from '@agm/core';
import { HttpModule } from '@angular/http';

import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
import { RestaurantPage } from '../pages/restaurant/restaurant';
import { AgregarRestaurantPage } from './../pages/agregar-restaurant/agregar-restaurant';
import { AppRate } from '@ionic-native/app-rate';

@NgModule({
  declarations: [
    MyApp,
    HomePage,
    RestaurantPage,
    AgregarRestaurantPage,

  ],
  imports: [
    BrowserModule,
    HttpModule,
    IonicModule.forRoot(MyApp),
    AgmCoreModule.forRoot({
      apiKey: 'AIzaSyCsk9OLDVfDS18F8Dg6_xEp-kpiTf8qA4M'
    }),

  ],
  bootstrap: [IonicApp],
  entryComponents: [
    HomePage,
    RestaurantPage,
    AgregarRestaurantPage
  ],
  providers: [
    StatusBar,
    SplashScreen,
    {provide: ErrorHandler, useClass: IonicErrorHandler},
    AppRate
  ]
})
export class AppModule {}

did you follow this https://ionicframework.com/docs/native/app-rate/

Amigo no sale ningun error en visual pero cuando ejecuto ionic serve sale eso