Description
The renderer build fails when react-icons is at version 5.6.0 or later because SiCss3 was removed from the Simple Icons set in that release.
Error:
src/renderer/components/FileExplorer/FileIcons.tsx (28:2): "SiCss3" is not exported by "node_modules/react-icons/si/index.mjs"
Root Cause
package.json specifies "react-icons": "^5.5.0", which allows 5.6.0. The pnpm-lock.yaml currently pins to 5.5.0 (where SiCss3 still exists), so contributors with the lockfile intact are unaffected — but anyone whose lockfile resolves to 5.6.0 (or who runs pnpm install after the lockfile is updated) will hit this immediately.
SiCss3 was replaced by SiCss in react-icons 5.6.0.
Fix
- Replace
SiCss3 with SiCss in src/renderer/components/FileExplorer/FileIcons.tsx
- Bump minimum version to
^5.6.0 in package.json so the dependency and the code are in sync
Description
The renderer build fails when
react-iconsis at version 5.6.0 or later becauseSiCss3was removed from the Simple Icons set in that release.Error:
Root Cause
package.jsonspecifies"react-icons": "^5.5.0", which allows 5.6.0. Thepnpm-lock.yamlcurrently pins to 5.5.0 (whereSiCss3still exists), so contributors with the lockfile intact are unaffected — but anyone whose lockfile resolves to 5.6.0 (or who runspnpm installafter the lockfile is updated) will hit this immediately.SiCss3was replaced bySiCssin react-icons 5.6.0.Fix
SiCss3withSiCssinsrc/renderer/components/FileExplorer/FileIcons.tsx^5.6.0inpackage.jsonso the dependency and the code are in sync