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

Can't upgrade Nx to 19.7.3 #27959

Closed
2 of 4 tasks
k4wo opened this issue Sep 17, 2024 · 4 comments
Closed
2 of 4 tasks

Can't upgrade Nx to 19.7.3 #27959

k4wo opened this issue Sep 17, 2024 · 4 comments
Assignees
Labels
outdated scope: module federation Issues related to module federation support type: bug

Comments

@k4wo
Copy link

k4wo commented Sep 17, 2024

Current Behavior

I'm not able to upgrade Nx to 19.7.3.

  1. First issue related is to a proxy file:
Running migration @nx/webpack: update-19-6-3-proxy-config

 NX   Failed to run update-19-6-3-proxy-config from @nx/webpack. This workspace is NOT up to date!


 NX   Cannot find {workspaceRoot}/proxy.json

If I remove manually proxyConfig field from my project.json migration succeed but I'm not able to run the project.

  1. Below is message from logs:
[ Module Federation Manifest Plugin ]: Manifest will use absolute path resolution via its host at runtime, reason: publicPath='auto'

 NX   [ Module Federation Manifest Plugin ]: no files found for remoteEntry chunk

Expected Behavior

  1. First issue should ended up with better worded message.
  2. App is running

GitHub Repo

No response

Steps to Reproduce

Nx Report

NX   Report complete - copy this into the issue template

Node           : 21.5.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.2.4

nx                 : 19.7.3
@nx/js             : 19.7.3
@nx/jest           : 19.7.3
@nx/linter         : 19.7.3
@nx/eslint         : 19.7.3
@nx/workspace      : 19.7.3
@nx/cypress        : 19.7.3
@nx/devkit         : 19.7.3
@nx/esbuild        : 19.7.3
@nx/eslint-plugin  : 19.7.3
@nx/express        : 19.7.3
@nx/node           : 19.7.3
@nx/react          : 19.7.3
@nx/storybook      : 19.7.3
@nrwl/tao          : 19.7.3
@nx/web            : 19.7.3
@nx/webpack        : 19.7.3
typescript         : 5.5.4
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
@nx/storybook/plugin

Failure Logs

No response

Package Manager Version

No response

Operating System

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

Additional Information

Webpack, static module federation with react, 3 remotes and host. I'm able to upgrade to 19.6.0 (from 19.0.0)

@k4wo k4wo added the type: bug label Sep 17, 2024
@belaczek
Copy link
Contributor

This might be related to #28042. Does the failing remote have any dashes "-" in its name?

@k4wo
Copy link
Author

k4wo commented Sep 25, 2024

Yes, all have dash in the name. Thanks @belaczek

@jaysoo jaysoo added the scope: module federation Issues related to module federation support label Sep 25, 2024
@Coly010
Copy link
Contributor

Coly010 commented Oct 15, 2024

Should be resolved with: Fixed by: #28401

@Coly010 Coly010 closed this as completed Oct 15, 2024
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 Nov 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: module federation Issues related to module federation support type: bug
Projects
None yet
Development

No branches or pull requests

4 participants