I am getting following error while react-scripts build:
> react-scripts build
Creating an optimized production build...
Failed to compile.
Attempted import error: '__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE' is not exported from 'react' (imported as 'React').
The same issue is happening in Azure CI/CD pipeline as well in local.
Tried deleting yarn.lock file and node_modules folder.
Also tried re-running the Azure build pipeline but the result is same and there is no code change in Azure pipeline. I just tried running the Azure build pipeline again manually.