This article provides a solution for the issue where your Adobe Commerce 2.4.0 installation fails with the error message: The default website isn’t defined. Set the website and try again. displayed in the console.
A third-party extension with dependencies on APIs for the Store module in CLI commands is configured as required in
composer.json. This causes the installation of Adobe Commerce 2.4.0 to fail with an error message: The default website isn’t defined. Set the website and try again. displayed in the console.
The issue appears for the third-party extensions which have dependencies on stores in their CLI commands. One is Amazon Sales Channels.
Before the installation of Adobe Commerce 2.4.0, merchants have to:
The issue will be fixed in the scope of 2.4.1 release.