Details
-
Bug
-
Resolution: Fixed
-
High
-
3.3.14, 4.0.0-rc3
-
None
-
None
Description
Build hook defined inĀ .platform.app.yaml installs Node 10.15.3 which is too old for the latest release of @symfony/webpack-encore. It requires at least 10.19.1.
The fix must be applied to all editions and most likely to v4 as well.
Build log:
W: 110 packages you are using are looking for funding. W: Use the `composer fund` command to find out more! W: W: Run composer recipes at any time to see the status of your Symfony recipes. W: W: Executing script cache:clear [OK] W: Executing script assets:install public [OK] W: Executing script bazinga:js-translation:dump public/assets --merge-domains [OK] W: Executing script yarn install [KO] W: [KO] W: Script yarn install returned with error code 1 W: !! yarn install v1.22.17 W: !! [1/4] Resolving packages... W: !! [2/4] Fetching packages... W: !! error @symfony/webpack-encore@1.8.1: The engine "node" is incompatible with this module. Expected version "^10.19.0 || ^12.0.0 || >=14.0.0". Got "10.15.3" W: !! error Found incompatible module. W: !! info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. W: !! W: Script @auto-scripts was called via post-install-cmd E: Error building project: Step failed with status code 1. E: Error: Unable to build application, aborting.