Skip to content

Unable to build with NgStore in (beta.25.5) #4101

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

Closed
MurhafSousli opened this issue Jan 18, 2017 · 3 comments
Closed

Unable to build with NgStore in (beta.25.5) #4101

MurhafSousli opened this issue Jan 18, 2017 · 3 comments

Comments

@MurhafSousli
Copy link

I'm submitting a

[x] bug report 

After updating the CLI from beta.21 to beta.25.5, I'm getting this error:

ERROR in Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol gameReducer in ..../store/game.reducer.ts, resolving symbol AppModule in ..../app/app.module.ts

app.module.ts

  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    StoreModule.provideStore({gameState: gameReducer})
  ],

I found a similar issue but couldn't figure out how to do the same for StoreModule.provideStore(...)

I'm building using just ng serve without AOT flag

@beeman
Copy link
Contributor

beeman commented Jan 18, 2017

@MurhafSousli this might be related: #4005

@MurhafSousli
Copy link
Author

@beeman Thanks

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
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

2 participants