Skip to content

18.11 build error #3237

@th-2021

Description

@th-2021

First issue:

563.1 [3/5] Fetching packages...
594.0 error chevrotain@12.0.0: The engine "node" is incompatible with this module. Expected version ">=22.0.0". Got "20.20.2"
594.0 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
594.0 error Found incompatible module.

I could solve this by changing to nodejs 22

Second issue (also gitlab#597036)

778.6 yarn run v1.22.22
778.6 $ scripts/build_frontend_islands && NODE_OPTIONS="${NODE_OPTIONS:=--max-old-space-size=10240}" webpack --config config/webpack.config.js
Building Frontend Islands
778.6 Not building the frontend islands in FOSS only mode. Exiting early

778.9 [V] Using Vue.js 2 (compiler 2)
779.2 Sidekiq assets path: /home/git/gitlab/vendor/gems/sidekiq/web/assets
779.2 Sidekiq destination subpath: public/assets/sidekiq
779.2 Sidekiq assets destination path: /home/git/gitlab/public/assets/sidekiq
779.3 BABEL_ENV inside Webpack is: undefined
779.3 IncrementalWebpackCompiler: Status – disabled
779.3 [webpack-cli] Error: [vue3-infection] Infection scanner data not found at /home/git/gitlab/tmp/infection_scanner.json.
779.3 Run: node scripts/frontend/infection_scanner/infection_scanner.mjs
779.3     at loadScannerData (/home/git/gitlab/config/plugins/webpack_vue3_infection_plugin.js:48:11)
779.3     at WebpackVue3InfectionPlugin.apply (/home/git/gitlab/config/plugins/webpack_vue3_infection_plugin.js:249:22)
779.3     at WebpackCLI.webpack (/home/git/gitlab/node_modules/webpack/lib/webpack.js:51:13)
779.3     at WebpackCLI.createCompiler (/home/git/gitlab/node_modules/webpack-cli/lib/webpack-cli.js:1789:29)
779.3     at async WebpackCLI.runWebpack (/home/git/gitlab/node_modules/webpack-cli/lib/webpack-cli.js:1890:20)
779.3     at async Command.<anonymous> (/home/git/gitlab/node_modules/webpack-cli/lib/webpack-cli.js:912:21)
779.3     at async Promise.all (index 1)
779.3     at async Command.<anonymous> (/home/git/gitlab/node_modules/webpack-cli/lib/webpack-cli.js:1372:13)
779.4 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
779.4 error Command failed with exit code 2.
779.4 Error: Unable to compile webpack production bundle.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions