title: circular dependency angular 6
body: <p>i've uploaded the whole project in <a href="https://stackblitz.com/edit/angular-aqcbvy" rel="nofollow noreferrer">enter link description here</a></p>
  <p>after many attemts of i got this error each time i run the same code and get these errors :</p>
  <blockquote>
  <p>`ERROR in node_modules/@ngrx/store-devtools/src/actions.d.ts(18,21):
  error TS1039: Initializers are not allowed in ambient contexts.</p>
  <p>node_modules/@ngrx/store-devtools/src/actions.d.ts(22,21): error
  TS1039: Initializers are not allowed in ambient contexts.</p>
  <p>node_modules/@ngrx/store-devtools/src/actions.d.ts(26,21): error
  TS1039: Initializers are not allowed in ambient contexts.</p>
  <p>node_modules/@ngrx/store-devtools/src/actions.d.ts(31,21): error
  TS1039: Initializers are not allowed in ambient contexts.</p>
  <p>node_modules/@ngrx/store-devtools/src/actions.d.ts(36,21): error
  TS1039: Initializers are not allowed in ambient contexts.</p>
  <p>node_modules/@ngrx/store-devtools/src/actions.d.ts(40,21): error
  TS1039: Initializers are not allowed in ambient contexts.</p>
  <p>node_modules/@ngrx/store-devtools/src/actions.d.ts(44,21): error
  TS1039: Initializers are not allowed in ambient contexts.</p>
  <p>node_modules/@ngrx/store-devtools/src/actions.d.ts(51,21): error
  TS1039: Initializers are not allowed
  node_modules/@ngrx/store-devtools/src/actions.d.ts(56,21): error
  TS1039: Initializers are not allowed</p>
  <p>node_modules/@ngrx/store-devtools/src/actions.d.ts(61,21): error
  TS1039: Initializers are not allowed</p>
  <p>node_modules/@ngrx/store-devtools/src/actions.d.ts(66,21): error
  TS1039: Initializers are not allowed</p>
  <p>node_modules/@ngrx/store-devtools/src/actions.d.ts(71,21): error
  TS1039: Initializers are not allowed</p>
  <p>node_modules/@ngrx/store-devtools/src/actions.d.ts(76,21): error
  TS1039: Initializers are not allowed</p>
  <p>i ｢wdm｣: Failed to compile. `</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/R3v2G.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R3v2G.jpg" alt="enter image description here" /></a></p>
  <p>with some chance without changing anything in code the project compiles succefully but with another error wich is <code>Uncaught Error: Can't resolve all parameters for CoinEffects: (?, [object Object]).</code></p>
  <p>after many searches i discovred that it's about circular dependency it tried to fixed but in vain is it about dependencies or something else !!!?</p>