Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140071

trying to build my ionic application with --prod but it doesn´t work

$
0
0

i tried the whole time to build my project with ionic build android --prod but i get always the same error:

enter image description here

and when i add IonicApp to my App.Module then i get following error:

enter image description here

@NgModule({
declarations: [
MyApp,
  OverlayPortal,
  ClickBlock,
  EventsfilterComponent,
  FooterComponent,
  ImgWithSpinnerComponent,
  NotificationsComponent,
  SpotifyComponent,
  IonicApp
  ],
 imports: [
  IonicModule.forRoot(MyApp,{
      backButtonText: '',
      backButtonIcon: 'ios-arrow-back',
      scrollPadding: false
  },),
  ComponentsModule,
  BrowserAnimationsModule,
  IonicImageViewerModule,
AngularFireDatabaseModule,
  AngularFireAuthModule,
  NotificationsPageModule,
  HttpModule,
  ConversationPageModule,
  EventPageModule,
  GroupPageModule,
  InteractionsPageModule,
AngularFireModule.initializeApp(firebaseConfig),
  SuperTabsModule.forRoot(),
IonicStorageModule.forRoot({
  name: '__mydb',
     driverOrder: ['indexeddb', 'sqlite', 'websql']
}),
  PipesModule


Ionic:

Ionic CLI          : 5.4.4 (/usr/local/lib/node_modules/ionic)
Ionic Framework    : ionic-angular 3.9.9
@ionic/app-scripts : 3.2.4

Cordova:

Cordova CLI       : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 8.1.0, browser 5.0.3, ios 5.0.1
Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 1.2.1, 
(and 30 other plugins)

Utility:

cordova-res : not installed
native-run  : 0.2.8 (update available: 0.3.0)

System:

Android SDK Tools : 26.1.1 (/Users/leonardoprivat/Library/Android/sdk)
ios-sim           : 8.0.2
NodeJS            : v10.16.3 (/usr/local/bin/node)
npm               : 6.9.0
OS                : macOS Mojave
Xcode             : Xcode 11.0 Build version 11A420aenter code here

Any Idea how i can solve this problem?


Viewing all articles
Browse latest Browse all 140071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>