-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
MFE host cannot generate root ngrx state for app - broken #28970
Comments
Hi the nx-console UI is failing with this error in the webstorm terminal The other main issue we rely on its the ngrx-store-freeze, ngrx-store-logger & store-devtools debug logging it was simple prior to new Actions design but now with the react javascript type changes its mysterious when rigging up NgRX, so far its nutz'o to try and get the devtools logger setup to see complete route serializer and routes unfolding at runtime in the chrome console. This needs to be simplified and redone because I been using NgRX ever since its inception and NOW every time I try to get that devtools logger setup now its like pulling teeth takes days or not at all and thats not a good sign of good craftsman work it should be simple automated and even manually. Currently it remains a mystery and unable to setup. If someone can code review that and simplify it we really need that feature for debugging in the field. Currently I think its some secret flag somewhere that needs to be set but I have yet to get that darned devtools logging going for years now. thanks for an awesome product |
does anyone have a workaround for this issue? |
<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> When we run the ngrx-root-store generator on a MFe host app it assumes `app.module.ts` is created. ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> We should check if `app.module.ts` exists first, then fall back if not. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #28970 (cherry picked from commit beded4e)
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. |
Current Behavior
SUBJECT: MFE host cannot generate root ngrx state for app - broken
causes error
Expected Behavior
should generate root ngrx state for MFE host app
GitHub Repo
https://github.com/nhhockeyplayer/meanstacknh
Steps to Reproduce
nx g @nx/angular:ngrx-root-store --project=host --minimal=false --name=root --addDevTools=true --facade=true --no-interactive --dry-run
Nx Report
Failure Logs
Package Manager Version
npm --version 10.9.0
Operating System
Additional Information
this is a show stopper I cannot get NgRX on the map for my hosts/apps
The text was updated successfully, but these errors were encountered: