Closed aaronreed708 closed 7 months ago
So the problem here is that when the GitHub actions were running (e.g. docker publishing and cve scanner) that built Theme Builder in a clean environment, they were pulling a later version of @mui/material than a developer who already has a version cached. More recent versions of @mui/material changed from exporting SelectProps
to exporting BaseSelectProps
. So any ThemeBuilder build using those versions of @mui/material were failing.
I fixed this by updating package.json to use the latest versions of mui and then changed Dropdown.tsx component to correctly use BaseSelectProps
.
Verified building on dev with no errors in GitHub Actions for docker build. Closing.
Problem/Concern
It looks like the Docker build is failing due to an issue with MUI Select properties. I believe that this is similar to an issue that Bryce and I became aware of last week.
An example scanning error: https://github.com/finos/a11y-theme-builder/actions/runs/8176615961/job/22356443393
Showing the error:
Proposed Solution