nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.69k stars 2.37k forks source link

Some packages are not working properly after updating NX from v15.3.3 to v17.1.1 #20812

Open AhmSaeed opened 11 months ago

AhmSaeed commented 11 months ago

Current Behavior

I updated my project NX version from v15.3.3 to v17.1.1 and the project is using a package called Adyen it was working fine with v15.3.3 but after updating NX it fails with Android with the following issue Cannot get property 'adyenReactNativeRedirectScheme' on extra properties extension as it does not exist

I though at first it's an issue with React Native version itself as I updated React Native version from v0.70.6 to v0.72.4 so I decided to create a small demo project with React Native v0.72.4 and add Adyen to the project, after my trial I managed to get the project up and running without issues so I decided to create another project with NX v17.1.1 and voila! I can see the issue.

Screenshot 2023-12-17 at 12 26 07 PM

Expected Behavior

I could get Adyen package to work smoothly after NX update as it was working just fine with the old NX version.

GitHub Repo

https://github.com/AhmSaeed/happynrwl

Steps to Reproduce

  1. Clone the repro project.
  2. Run npx nx run mobile:run-android.

Nx Report

>  NX   Report complete - copy this into the issue template

   Node   : 16.20.2
   OS     : darwin-x64
   npm    : 6.14.12

   nx                 : 17.1.1
   @nx/js             : 17.1.1
   @nx/jest           : 17.1.1
   @nx/linter         : 17.1.1
   @nx/eslint         : 17.1.1
   @nx/workspace      : 17.1.1
   @nx/detox          : 17.1.1
   @nx/devkit         : 17.1.1
   @nx/eslint-plugin  : 17.1.1
   @nx/react          : 17.1.1
   @nx/react-native   : 17.1.1
   @nrwl/tao          : 17.1.1
   @nx/web            : 17.1.1
   typescript         : 5.2.2

Failure Logs

No response

Package Manager Version

No response

Operating System

Additional Information

No response

AhmSaeed commented 11 months ago

Here is a sample built with React Native CLI without NX It works smoothly with React Native v0.72.4 but with NX it fails with the above issue

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it hasn't had any activity for 6 months. Many things may have changed within this time. The issue may have already been fixed or it may not be relevant anymore. If at this point, this is still an issue, please respond with updated information. It will be closed in 21 days if no further activity occurs. Thanks for being a part of the Nx community! 🙏