From 87b66e0cd7204b84a57dc6a33205cd5b83b03f63 Mon Sep 17 00:00:00 2001 From: Krystian Szymukowicz Date: Fri, 11 Apr 2025 21:16:27 +0200 Subject: [PATCH] Add reference to github discussion about the error 'The build "_default" is not configured'. --- Classes/Asset/EntrypointLookupCollection.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Classes/Asset/EntrypointLookupCollection.php b/Classes/Asset/EntrypointLookupCollection.php index 33132f5..1060b87 100644 --- a/Classes/Asset/EntrypointLookupCollection.php +++ b/Classes/Asset/EntrypointLookupCollection.php @@ -41,8 +41,10 @@ public function getEntrypointLookup(string $buildName = null): EntrypointLookupI $buildName = $this->defaultBuildName; } - if (! isset($this->buildEntrypoints[$buildName])) { - throw new UndefinedBuildException(sprintf('The build "%s" is not configured', $buildName)); + if (!isset($this->buildEntrypoints[$buildName])) { + throw new UndefinedBuildException(sprintf('The build "%s" is not configured. ' + . 'More info: https://github.com/sabbelasichon/typo3_encore/discussions/242', + $buildName)); } return $this->buildEntrypoints[$buildName];