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

Running nx ngrx causing error #415

Closed
CharlieGreenman opened this issue Apr 11, 2018 · 8 comments
Closed

Running nx ngrx causing error #415

CharlieGreenman opened this issue Apr 11, 2018 · 8 comments
Assignees
Milestone

Comments

@CharlieGreenman
Copy link

CharlieGreenman commented Apr 11, 2018

Command

ng generate ngrx choose-size --module=apps/angular-pixel-illustrator/src/app/components/choose-size/choose-size.module.ts

Error:

Error: Path "/__path__/__name@dasherize@if-flat__/__name@dasherize__.actions.ts" does not exist.
Path "/__path__/__name@dasherize@if-flat__/__name@dasherize__.actions.ts" does not exist.

Notable mentions

"@angular-devkit/core": "^0.5.4",
"@angular-devkit/schematics": "^0.5.5",
"@angular/cli": "1.7.1",
"@nrwl/schematics": "^0.11.1",
"@nrwl/nx": "^0.11.1"

I was wondering if anyone else is coming across the same issue ^, and if so, how did they solve it? Thank you.

@ThomasBurleson
Copy link
Contributor

@CharlieGreenman, I will investigate this.

@ThomasBurleson ThomasBurleson self-assigned this Apr 11, 2018
@ThomasBurleson ThomasBurleson added this to the 1.0.0 milestone Apr 11, 2018
@FrozenPandaz
Copy link
Collaborator

Hi @CharlieGreenman we are investigating this but if you could provide repo with the issue would help us greatly.

@CharlieGreenman
Copy link
Author

CharlieGreenman commented Apr 13, 2018 via email

@CharlieGreenman
Copy link
Author

CharlieGreenman commented Apr 16, 2018

@FrozenPandaz @ThomasBurleson A temporary repo for this issue has been created: https://github.com/CharlieGreenman/MonoAngularPixel

@FrozenPandaz
Copy link
Collaborator

FrozenPandaz commented Apr 17, 2018

Thank you for your reproduction! I was able to reproduce this via your repo.

@FrozenPandaz
Copy link
Collaborator

You should not need to install your own versions of @angular-devkit/core and @angular-devkit/schematics.

Fixing these dependencies allows you to generate ngrx again. You might have to remove your package-lock.json if you have errors after installing Nx.

I made a PR to your reproduction here: https://github.com/CharlieGreenman/MonoAngularPixel/pull/1

@CharlieGreenman
Copy link
Author

CharlieGreenman commented Apr 20, 2018

@FrozenPandaz that did it. Obviously we can look into this particular scenario not affecting ngrx generation. Going to close, and if we would like to open another ticket for the above, by all means.

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants