Skip to content

[Bug]: @fluentui/react 8.122.13 missing dist folder #34043

Closed

Description

@nick-pape

Package

react

Package version

8.122.3

React version

any

Environment

System:
    OS: Windows 11 10.0.26100
    CPU: (16) x64 AMD EPYC 7763 64-Core Processor
    Memory: 19.41 GB / 63.95 GB
  Browsers:
    Edge: Chromium (133.0.3065.59)

Current Behavior

The 8.122.13 release is missing the dist folder. The 8.122.12 release has it:

Image

Image

This is causing build break for newly generated packages in the SPFx generator:

[16:20:38] Error - sass - src\webparts\helloWorld\components\HelloWorld.module.scss(1,9): error Error: Can't find stylesheet to import.
  ╷
1 │ @import '~@fluentui/react/dist/sass/References.scss';
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\webparts\helloWorld\components\HelloWorld.module.scss 1:9  root stylesheet

Expected Behavior

The dist (and lib) folders should be present.

Reproduction

https://www.npmjs.com/package/@fluentui/react/v/8.122.13?activeTab=code

Steps to reproduce

Go to NPMJS and look at the folder structure:

https://www.npmjs.com/package/@fluentui/react/v/8.122.13?activeTab=code

https://www.npmjs.com/package/@fluentui/react/v/8.122.12?activeTab=code

Are you reporting an Accessibility issue?

None

Suggested severity

Medium - Has workaround

Products/sites affected

SharePoint Framework users

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Activity

  1. nick-pape commented on Mar 19, 2025

    @nick-pape
    Author

    @microsoft/fluentui-react-build Justin Slone (@JustSlone) FYI

  2. khmakoto commented on Mar 19, 2025

    @khmakoto
    Member

    Yeah, it seems like there was a bad release. I'll try to release a new version to see if it's a recurring problem with our release pipeline or a one-off issue.

  3. khmakoto commented on Mar 19, 2025

    @khmakoto
    Member

    It was not a one-off issue, but I've identified the culprit and have a PR to fix it in #34044. Once that goes in, I'll try to release once more.

  4. blendsdk commented on Mar 20, 2025

    @blendsdk

    This broke the build on our side and now we have an all-hands-on-deck situation :) :) :)
    But no worries, we are very happy this with UI framework and appreciate your hard work.

  5. khmakoto commented on Mar 20, 2025

    @khmakoto
    Member

    Thanks Gevik Babakhani (@blendsdk), we're hard at work trying to fix this and release a new version, but for now using version 8.122.12 should mitigate the issue.

  6. TristanWatanabe commented on Mar 20, 2025

    @TristanWatanabe
    Member

    This should now be fixed in the latest version 8.122.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions