Error while serving the app with --prod in angular--prod Build giving warnings and deployed app not loading after upgrading to Angular 7Angular 7: ng serve works, but console shows a Zone.js error and app won't loadAngular 7 app getting CORS error from angular clientng serve command failed to compile in angular 7In Angular 7 i got 404 Error When reload the pageerror while using a javascript in angular projectHow to properly serve Angular 6/7 app using node / express?While listing the json data in angular 7 getting an error “Error: Error trying to diff '[object Object]'. Only arrays and iterables are allowed”Angular 7 - Error getting while creating Angular AppWhile downloading the file, it says corrupted in angular 6

301 Redirects what does ([a-z]+)-(.*) and ([0-9]+)-(.*) mean

How can I safely determine the output voltage and current of a transformer?

What color to choose as "danger" if the main color of my app is red

Is there any deeper thematic meaning to the white horse that Arya finds in The Bells (S08E05)?

Why is so much ransomware breakable?

Why can't I share a one use code with anyone else?

Why did the soldiers of the North disobey Jon?

AD: OU for system administrator accounts

Usage of the relative pronoun "dont"

Why do academics prefer Mac/Linux?

What formula to chose a nonlinear formula?

Promotion comes with unexpected 24/7/365 on-call

Why are lawsuits between the President and Congress not automatically sent to the Supreme Court

Have there been any examples of re-usable rockets in the past?

What would a Dragon have to exhale to cause rain?

How to deal with the extreme reverberation in big cathedrals when playing the pipe organs?

How could it be that 80% of townspeople were farmers during the Edo period in Japan?

Would life always name the light from their sun "white"

Why would company (decision makers) wait for someone to retire, rather than lay them off, when their role is no longer needed?

Do high-wing aircraft represent more difficult engineering challenges than low-wing aircraft?

Why didn't Daenerys' advisers suggest assassinating Cersei?

What is this rubber on gear cables

Why use a retrograde orbit?

Why doesn't Iron Man's action affect this person in Endgame?



Error while serving the app with --prod in angular


--prod Build giving warnings and deployed app not loading after upgrading to Angular 7Angular 7: ng serve works, but console shows a Zone.js error and app won't loadAngular 7 app getting CORS error from angular clientng serve command failed to compile in angular 7In Angular 7 i got 404 Error When reload the pageerror while using a javascript in angular projectHow to properly serve Angular 6/7 app using node / express?While listing the json data in angular 7 getting an error “Error: Error trying to diff '[object Object]'. Only arrays and iterables are allowed”Angular 7 - Error getting while creating Angular AppWhile downloading the file, it says corrupted in angular 6






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















Angular app is running fine with ng serve,but error shown when run with ng serve --prod




ERROR in : Invalid provider for the NgModule 'ɵngrx_modules_effects_effects_b in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts' - only instances of Provider and Type are allowed, got: [ɵngrx_modules_effects_effects_f in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, EffectSources in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, Actions in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, ?null?, ...]




app.module.ts



import BrowserModule from '@angular/platform-browser';
import NgModule from '@angular/core';
import DatePipe from '@angular/common';
.
.
import StoreDevtoolsModule from '@ngrx/store-devtools';
import environment from 'src/environments/environment';
import appReducer from './state-management/app.reducer';
import AppEffects from './state-management/app.effects';
import PdfViewerModule from 'ng2-pdf-viewer';
.
.
import PdfReaderComponent from './shared/components/pdf-reader/pdf-
reader.component';


import AsyncPipe from '../../node_modules/@angular/common';
@NgModule(
declarations: [
AppComponent,
.
.
],
imports: [
AngularFireDatabaseModule,
.
.
Ng5SliderModule,
StoreModule.forRoot(appReducer),
EffectsModule.forRoot(AppEffects),
StoreDevtoolsModule.instrument(
maxAge: 25, // Retains last 25 states
logOnly: environment.production // Restrict extension to log-only mode
)
],
providers: [ApiService,DatePipe,MessagingService, AsyncPipe],
bootstrap: [AppComponent]
)
export class AppModule









share|improve this question




























    0















    Angular app is running fine with ng serve,but error shown when run with ng serve --prod




    ERROR in : Invalid provider for the NgModule 'ɵngrx_modules_effects_effects_b in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts' - only instances of Provider and Type are allowed, got: [ɵngrx_modules_effects_effects_f in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, EffectSources in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, Actions in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, ?null?, ...]




    app.module.ts



    import BrowserModule from '@angular/platform-browser';
    import NgModule from '@angular/core';
    import DatePipe from '@angular/common';
    .
    .
    import StoreDevtoolsModule from '@ngrx/store-devtools';
    import environment from 'src/environments/environment';
    import appReducer from './state-management/app.reducer';
    import AppEffects from './state-management/app.effects';
    import PdfViewerModule from 'ng2-pdf-viewer';
    .
    .
    import PdfReaderComponent from './shared/components/pdf-reader/pdf-
    reader.component';


    import AsyncPipe from '../../node_modules/@angular/common';
    @NgModule(
    declarations: [
    AppComponent,
    .
    .
    ],
    imports: [
    AngularFireDatabaseModule,
    .
    .
    Ng5SliderModule,
    StoreModule.forRoot(appReducer),
    EffectsModule.forRoot(AppEffects),
    StoreDevtoolsModule.instrument(
    maxAge: 25, // Retains last 25 states
    logOnly: environment.production // Restrict extension to log-only mode
    )
    ],
    providers: [ApiService,DatePipe,MessagingService, AsyncPipe],
    bootstrap: [AppComponent]
    )
    export class AppModule









    share|improve this question
























      0












      0








      0








      Angular app is running fine with ng serve,but error shown when run with ng serve --prod




      ERROR in : Invalid provider for the NgModule 'ɵngrx_modules_effects_effects_b in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts' - only instances of Provider and Type are allowed, got: [ɵngrx_modules_effects_effects_f in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, EffectSources in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, Actions in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, ?null?, ...]




      app.module.ts



      import BrowserModule from '@angular/platform-browser';
      import NgModule from '@angular/core';
      import DatePipe from '@angular/common';
      .
      .
      import StoreDevtoolsModule from '@ngrx/store-devtools';
      import environment from 'src/environments/environment';
      import appReducer from './state-management/app.reducer';
      import AppEffects from './state-management/app.effects';
      import PdfViewerModule from 'ng2-pdf-viewer';
      .
      .
      import PdfReaderComponent from './shared/components/pdf-reader/pdf-
      reader.component';


      import AsyncPipe from '../../node_modules/@angular/common';
      @NgModule(
      declarations: [
      AppComponent,
      .
      .
      ],
      imports: [
      AngularFireDatabaseModule,
      .
      .
      Ng5SliderModule,
      StoreModule.forRoot(appReducer),
      EffectsModule.forRoot(AppEffects),
      StoreDevtoolsModule.instrument(
      maxAge: 25, // Retains last 25 states
      logOnly: environment.production // Restrict extension to log-only mode
      )
      ],
      providers: [ApiService,DatePipe,MessagingService, AsyncPipe],
      bootstrap: [AppComponent]
      )
      export class AppModule









      share|improve this question














      Angular app is running fine with ng serve,but error shown when run with ng serve --prod




      ERROR in : Invalid provider for the NgModule 'ɵngrx_modules_effects_effects_b in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts' - only instances of Provider and Type are allowed, got: [ɵngrx_modules_effects_effects_f in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, EffectSources in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, Actions in E:/TrainingPortal/node_modules/@ngrx/effects/effects.d.ts, ?null?, ...]




      app.module.ts



      import BrowserModule from '@angular/platform-browser';
      import NgModule from '@angular/core';
      import DatePipe from '@angular/common';
      .
      .
      import StoreDevtoolsModule from '@ngrx/store-devtools';
      import environment from 'src/environments/environment';
      import appReducer from './state-management/app.reducer';
      import AppEffects from './state-management/app.effects';
      import PdfViewerModule from 'ng2-pdf-viewer';
      .
      .
      import PdfReaderComponent from './shared/components/pdf-reader/pdf-
      reader.component';


      import AsyncPipe from '../../node_modules/@angular/common';
      @NgModule(
      declarations: [
      AppComponent,
      .
      .
      ],
      imports: [
      AngularFireDatabaseModule,
      .
      .
      Ng5SliderModule,
      StoreModule.forRoot(appReducer),
      EffectsModule.forRoot(AppEffects),
      StoreDevtoolsModule.instrument(
      maxAge: 25, // Retains last 25 states
      logOnly: environment.production // Restrict extension to log-only mode
      )
      ],
      providers: [ApiService,DatePipe,MessagingService, AsyncPipe],
      bootstrap: [AppComponent]
      )
      export class AppModule






      angular7






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 23 at 16:00









      AjithAjith

      274319




      274319






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55315641%2ferror-while-serving-the-app-with-prod-in-angular%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55315641%2ferror-while-serving-the-app-with-prod-in-angular%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현