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

Cannot serve host with angular 14.2.12 and nx 17.0.0 #21128

Closed
1 of 4 tasks
YanaYahello23 opened this issue Jan 13, 2024 · 2 comments · Fixed by #21417
Closed
1 of 4 tasks

Cannot serve host with angular 14.2.12 and nx 17.0.0 #21128

YanaYahello23 opened this issue Jan 13, 2024 · 2 comments · Fixed by #21417
Assignees
Labels
outdated scope: angular Issues related to Angular support in Nx type: bug

Comments

@YanaYahello23
Copy link

Current Behavior

Created workspace for the project and cannot serve host getting an error : (0 , rxjs_1.switchMap) is not a function;
Screenshot 2024-01-13 at 12 09 38

Expected Behavior

Should be able to serve host project

GitHub Repo

No response

Steps to Reproduce

  1. Create workspace for existing angular project
  2. Cretae host and remote projects with nx g @nx/angular:host host --remotes=remote
  3. nx serve remote - serve successfull
  4. nx serve host - failed

Nx Report

Node   : 18.19.0
   OS     : darwin-x64
   npm    : 10.3.0
   
   nx (global)        : 17.0.0
   nx                 : 17.0.0
   @nx/js             : 17.0.0
   @nx/jest           : 17.0.0
   @nx/linter         : 17.0.0
   @nx/eslint         : 17.0.0
   @nx/workspace      : 17.0.0
   @nx/angular        : 17.0.0
   @nx/cypress        : 17.0.0
   @nx/devkit         : 17.0.0
   @nx/eslint-plugin  : 17.0.0
   @nrwl/tao          : 17.0.0
   @nx/web            : 17.0.0
   @nx/webpack        : 17.0.0
   typescript         : 4.6.4
   ---------------------------------------
   Community plugins:
   @ngrx/component       : 14.3.3
   @ngrx/component-store : 14.3.3
   @ngrx/effects         : 14.3.3
   @ngrx/entity          : 14.3.3
   @ngrx/router-store    : 14.3.3
   @ngrx/store           : 14.3.3
   @ngrx/store-devtools  : 14.3.3
   ng-mocks              : 14.12.1
   rxjs                  : 6.6.7

Failure Logs

(0 , rxjs_1.switchMap) is not a function
@nx/angular/src/builders/module-federation-dev-server/module-federation-dev-server.impl.js:21:166

Package Manager Version

npm

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@leosvelperez
Copy link
Member

This was fixed by #21417 and released in Nx 17.0.4. You can also update to any newer version.

Copy link

github-actions bot commented May 5, 2024

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 May 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: angular Issues related to Angular support in Nx type: bug
Projects
None yet
3 participants