Skip to content

build: SiCss3 removed in react-icons 5.6.0 breaks renderer build #1662

@tpaustin

Description

@tpaustin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions