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

New Angular MFE Setup | Warning: No required version specified and unable to automatically determine one. #10128

Closed
ak274 opened this issue May 4, 2022 · 2 comments
Assignees
Labels
outdated scope: angular Issues related to Angular support in Nx type: bug

Comments

@ak274
Copy link

ak274 commented May 4, 2022

Current Behavior

After updating the Nx workspace from 13.8.5 to 14.0.5 and updating the apps with nx angular mfe setup from old config with @angular-architects/module-federation... I have started noticing a warning while compiling the apps.

Issue exist in 14.1.0 too.

shared module rxjs/operators - Warning: No required version specified and unable to automatically determine one. Unable to find required version for
"rxjs" in description file (C:\projects\mfe\node_modules\angular-oauth2-oidc\package.json). It need to be in dependencies, devDependencies or peerDependencies.

There were no warnings with old setup.

Expected Behavior

Compilation Should be successful without warnings.

Here is example repo to reproduce the warning.

Updated the example repo with nx 14.1.0

https://github.com/ak274/example-nx-ng-mfe

Steps to Reproduce

Serve the app and you can see the warning during compile time.

Node : 16.14.0
OS   : win32 x64
npm  : 8.3.1

nx : 14.1.0
@nrwl/angular : 14.1.0
@nrwl/cypress : 14.1.0
@nrwl/detox : Not Found
@nrwl/devkit : 14.1.0
@nrwl/eslint-plugin-nx : 14.1.0
@nrwl/express : Not Found
@nrwl/jest : 14.1.0
@nrwl/js : Not Found
@nrwl/linter : 14.1.0
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/nx-cloud : 14.0.3
@nrwl/nx-plugin : Not Found
@nrwl/react : Not Found
@nrwl/react-native : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : 14.1.0
@nrwl/web : Not Found
@nrwl/workspace : 14.1.0
typescript : 4.6.3
rxjs : 7.4.0```



### Environment
<!-- It's important for us to know the context in which you experience this behavior! -->
<!-- Please paste the result of `nx report` below! -->
@ak274 ak274 added the type: bug label May 4, 2022
@AgentEnder AgentEnder added the scope: angular Issues related to Angular support in Nx label May 4, 2022
@leosvelperez
Copy link
Member

Thanks for reporting this!

This issue was fixed on #10129. Please keep an eye on the releases to get the fix.

@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 22, 2023
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
Development

No branches or pull requests

4 participants