Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Adding ngrx fails AOT build #4

Closed
BrainCrumbz opened this issue Aug 12, 2017 · 4 comments
Closed

Adding ngrx fails AOT build #4

BrainCrumbz opened this issue Aug 12, 2017 · 4 comments

Comments

@BrainCrumbz
Copy link
Owner

BrainCrumbz commented Aug 12, 2017

ngrx 2.x used to give another error similar to "StoreModule call not supported". Upgraded to ngrx 4.0.2 platform. Building for AOT with npm run build-prod produces:

ERROR in D:/WS/JS/ngtools/ngtools-webpack-demo/src/node_modules/@ngrx/store/store.ngfactory.ts (51,65): Argument of type '{}' is not assignable to parame
ter of type 'StoreFeature<any, any>[]'.
Property 'length' is missing in type '{}'.

[MarkDown glitch: don't know why, comment shows a double / before store.factory.ts. That is not really present in edited markdown]

@BrainCrumbz
Copy link
Owner Author

See this commit as a ref

@BrainCrumbz
Copy link
Owner Author

Same thing after upgrade to rxjs 5.4.3.

@BrainCrumbz
Copy link
Owner Author

BrainCrumbz commented Aug 12, 2017

Same thing after upgrade to typescript 2.4.2.

@BrainCrumbz
Copy link
Owner Author

Upgrade to angular 4.3.4, zone.js 0.8.16 made build time error go away.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant