Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No exported member _initialStateFactory and _INITIAL_STATE in nightly-builds #64

Closed
axtho opened this issue Jul 10, 2017 · 3 comments
Closed

Comments

@axtho
Copy link

axtho commented Jul 10, 2017

Bug, feature request, or proposal:

BUG

What is the expected behavior?

Nightlies should compile

What is the current behavior?

running ngc produces this:

Error at /Applications/MAMP/htdocs/memberhive2/core/node_modules/@ngrx/store/store.d.ts:11:10: Module '"/Applications/MAMP/htdocs/memberhive2/core/node_modules/@ngrx/store/src/store_module"' has no exported member '_initialStateFactory'.
Error at /Applications/MAMP/htdocs/memberhive2/core/node_modules/@ngrx/store/store.d.ts:12:10: Module '"/Applications/MAMP/htdocs/memberhive2/core/node_modules/@ngrx/store/src/tokens"' has no exported member '_INITIAL_STATE'.

Looking at the source files there is indeed no function of that kind.
What gives?

What are the steps to reproduce?

Pulling from nightlies and compiling any code with ngc.

Which versions of Angular, NGRX, OS, TypeScript, CLI, browsers are affected?

TS: 2.4.1
@angular/cli: 1.2.0
node: 8.1.3
os: darwin x64
@angular/animations: 4.2.6
@angular/cdk: 2.0.0-beta.8
@angular/common: 4.2.6
@angular/compiler: 4.2.6
@angular/core: 4.2.6
@angular/flex-layout: 2.0.0-rc.1
@angular/forms: 4.2.6
@angular/http: 4.2.6
@angular/material: 2.0.0-beta.8
@angular/platform-browser: 4.2.6
@angular/platform-browser-dynamic: 4.2.6
@angular/router: 4.2.6
@angular/cli: 1.2.0
@angular/compiler-cli: 4.2.6
@angular/platform-server: 4.2.6

Is there anything else we should know?

It was this last commit that did not include it properly: ngrx/store-builds@b916d04

@Somil91
Copy link

Somil91 commented Jul 10, 2017

Having the same issue with running ng-serve with the latest npm install of nightly builds.

@axtho
Copy link
Author

axtho commented Jul 10, 2017

you can get around it by pulling the nightly at the last commit, like so:
"@ngrx/store": "github:ngrx/store-builds#745395b9775965e1bfcddaabece172f9f556d794",

@Somil91
Copy link

Somil91 commented Jul 10, 2017

@axtho thanks that did worked.

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

No branches or pull requests

2 participants