-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
👷 Move website build chain to ESM #4649
base: main
Are you sure you want to change the base?
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 21242ca:
|
Failing at Run yarn workspace website build with: [INFO] [en] Creating an optimized production build...
[info] [webpackbar] Compiling Client
[info] [webpackbar] Compiling Server
[success] [webpackbar] Client: Compiled successfully in 23.58s
[success] [webpackbar] Server: Compiled with some errors in 25.16s
Error: Unable to build website for locale en.
at tryToBuildLocale (/home/runner/work/fast-check/fast-check/.yarn/__virtual__/@docusaurus-core-virtual-1a479300b6/4/.yarn/berry/cache/@docusaurus-core-npm-3.1.0-e2c1849322-10c0.zip/node_modules/@docusaurus/core/lib/commands/build.js:55:19)
[INFO] Docusaurus version: 3.1.0
Node version: v20.11.0
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async mapAsyncSequential (/home/runner/work/fast-check/fast-check/.yarn/__virtual__/@docusaurus-utils-virtual-462f6e933a/4/.yarn/berry/cache/@docusaurus-utils-npm-3.1.0-987dffbfde-10c0.zip/node_modules/@docusaurus/utils/lib/jsUtils.js:44:24)
at async Command.build (/home/runner/work/fast-check/fast-check/.yarn/__virtual__/@docusaurus-core-virtual-1a479300b6/4/.yarn/berry/cache/@docusaurus-core-npm-3.1.0-e2c1849322-10c0.zip/node_modules/@docusaurus/core/lib/commands/build.js:82:21) {
[cause]: Error: Failed to compile due to Webpack errors.
TypeError: require.resolveWeak is not a function
at /home/runner/work/fast-check/fast-check/.yarn/__virtual__/@docusaurus-core-virtual-1a479300b6/4/.yarn/berry/cache/@docusaurus-core-npm-3.1.0-e2c1849322-10c0.zip/node_modules/@docusaurus/core/lib/webpack/utils.js:207:24
at /home/runner/work/fast-check/fast-check/.yarn/__virtual__/webpack-virtual-056dc0b43c/4/.yarn/berry/cache/webpack-npm-5.89.0-3800e9efd0-10c0.zip/node_modules/webpack/lib/MultiCompiler.js:554:14
at processQueueWorker (/home/runner/work/fast-check/fast-check/.yarn/__virtual__/webpack-virtual-056dc0b43c/4/.yarn/berry/cache/webpack-npm-5.89.0-3800e9efd0-10c0.zip/node_modules/webpack/lib/MultiCompiler.js:491:6)
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4649 +/- ##
=======================================
Coverage 93.57% 93.57%
=======================================
Files 207 207
Lines 5011 5011
Branches 1367 1367
=======================================
Hits 4689 4689
Misses 322 322
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
The issue seems similar to the one detailed at facebook/docusaurus#6520 (comment) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Category:
Potential impacts: