-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
4.16.0
-
None
-
No
-
False
-
-
N/A
-
Release Note Not Required
-
In Progress
Description of problem:
When building https://github.com/kubevirt-ui/kubevirt-plugin from its release-4.16 branch, following warnings are issued during the webpack build:
WARNING in shared module react No required version specified and unable to automatically determine one. Unable to find required version for "react" in description file (/home/vszocs/work/kubevirt-plugin/node_modules/react/package.json). It need to be in dependencies, devDependencies or peerDependencies.
These warnings should not appear during the plugin build.
Root cause seems to be webpack module federation code which attempts to auto-detect actual build version of shared modules, but this code seems to be unreliable and warnings such as the one above are anything but helpful.
How reproducible: always on kubevirt-plugin branch release-4.16
Steps to Reproduce:
1. git clone https://github.com/kubevirt-ui/kubevirt-plugin
2. cd kubevirt-plugin
3. yarn && yarn dev
- blocks
-
OCPBUGS-35280 Illogical shared module warnings when building Kubevirt dynamic plugin
- Closed
- is cloned by
-
OCPBUGS-35280 Illogical shared module warnings when building Kubevirt dynamic plugin
- Closed
- links to
-
RHEA-2024:3718 OpenShift Container Platform 4.17.z bug fix update