Description of problem: Also if the console CI/CD runs on Node.js 14, we should start supporting also the newer versions 15 and 16. Node.js 16 is the latest LTS version, preinstalled on Fedora and many other systems. See also https://nodejs.org/en/about/releases/ Version-Release number of selected component (if applicable): 4.10, also previous versions or branches are affected How reproducible: Always with latest Node.js version ( 16) Steps to Reproduce: 1. Switch Node.js version (for example via nvm use 16) 2. Clean your node_modules, reinstall dependencies 3. Build console For example: nvm use 16 # or system if your system is up to date git clean -df && git clean -dfX yarn install && time yarn build && time yarn build-once Actual results: Build works on Node.js 14 and 15, not on Node.js 16 Expected results: Build should work on Node.js 14-16. Only supporting v16 is not enough because our CI server still use v14. Additional info: Followup on https://bugzilla.redhat.com/show_bug.cgi?id=2028141
This is solved with the switch from node-sass to sass (dart-sass) in https://issues.redhat.com/browse/CONSOLE-2975, https://github.com/openshift/console/pull/10149
Tested with node v16.11.1 (npm v8.0.0)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0056