-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.
Description
Problem
The docs build (SSG) fails when @apify/ui-library is updated from 1.119.0 to 1.120.0+. This was discovered in the lock file maintenance PR #605 where it was updated to 1.121.0.
Error
TypeError: Cannot read properties of undefined (reading 'M7')
at Object.M7 (server.bundle.js:101183:72)
at 71698 (server.bundle.js:97923:148)
at __webpack_require__ (server.bundle.js:154639:31)
...
Root Cause
@apify/ui-library 1.120.0+ introduces a regression that causes a module resolution failure (M7 chunk) during Server-Side Generation (SSG) when the experimental Rspack bundler is enabled via @docusaurus/faster in docusaurus.config.js.
@apify/ui-library is a transitive dependency pulled in by @apify/docs-theme.
Workaround
@apify/ui-library is pinned to <1.120.0 using a resolutions field in website/package.json.
Resolution
Once @apify/ui-library fixes the SSG/Rspack compatibility issue, the resolution override should be removed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.