Skip to content

[Bug]: intermittent issues with "yarn build" #25766

@layershifter

Description

@layershifter

Library

React Components / v9 (@fluentui/react-components)

Reproduction

N/A

Bug Description

I got build related issues on #25349 first. Then locally I got another issue (check logs).

Overall the problem looks like a race condition as it's not repeatable deterministically: next builds (local & CI) are passing 🗿

Logs

Locally

verb @fluentui/react-combobox build |  Error: /Users/olfedias/WebstormProjects/office-ui-fabric-react/dist/out-tsc/types/packages/react-components/react-field/src/components/Field/index.d.ts:3:15 - (TS2306) File '/Users/olfedias/WebstormProjects/office-ui-fabric-react/dist/out-tsc/types/packages/react-components/react-field/src/components/Field/useField.d.ts' is not a module.
verb @fluentui/react-combobox build |  Error: /Users/olfedias/WebstormProjects/office-ui-fabric-react/dist/out-tsc/types/packages/react-components/react-field/src/index.d.ts:1:77 - (TS2305) Module '"./Field"' has no exported member 'useField_unstable'.
verb @fluentui/react-combobox build |  [1:30:08 PM] x api-extractor | API VIOLATION:  Your package public API uses `@internal` marked API's from following packages:
verb @fluentui/react-combobox build |   undefined:
verb @fluentui/react-combobox build |    - useField_unstable 
verb @fluentui/react-combobox build |  
verb @fluentui/react-combobox build |  [1:30:08 PM] x Error detected while running 'api-extractor:default'

On the PR

image

Requested priority

High

Products/sites affected

Contributors.

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions