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

Failing to add feature state to an angular 6 library #1197

Closed
joelmuskwe opened this issue Jul 25, 2018 · 3 comments
Closed

Failing to add feature state to an angular 6 library #1197

joelmuskwe opened this issue Jul 25, 2018 · 3 comments

Comments

@joelmuskwe
Copy link

Used the following steps below:

  1. ng new my-demo
  2. cd my-demo
  3. yarn add @ngrx/{store,effects,entity,store-devtools,router-store,schematics}
  4. ng config cli.defaultCollection @ngrx/schematics
  5. ng g library demo-products
  6. ng generate store State --project demo-products -m demo-products.module.ts

Expected behavior:

Expecting to add a feature state to the demo-products library. but i am getting the following error:
Cannot read property 'getEnd' of undefined

Versions of NgRx, Angular, Node, affected browser(s) and operating system(s):

ngrx - v6.0.1
angular - v6.0.3
node - v8.11.1

@brandonroberts
Copy link
Member

What version of the CLI are you using?

@joelmuskwe
Copy link
Author

i am using Angular CLI: 6.0.8

@brandonroberts
Copy link
Member

Fixed via #1213

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

No branches or pull requests

2 participants