Duplicate key at line no. 7 in libraries.yml file.
Drupal\Core\Asset\Exception\InvalidLibraryFileException: Invalid library definition in themes/busy/busy.libraries.yml: Duplicate key "css/style.css" detected at line 7 (near "css/style.css: {}"). in Drupal\Core\Asset\LibraryDiscoveryParser->parseLibraryInfo() (line 348 of C:\xampp\htdocs\Drupal4Contribution\web\core\lib\Drupal\Core\Asset\LibraryDiscoveryParser.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screen Shot 2020-07-29 at 12.44.15.png | 68.59 KB | shaktik |
| #2 | issue-resolved-3160930-2.patch | 268 bytes | gauravvvv |
| Screenshot (340).png | 82.09 KB | gauravvvv |
Comments
Comment #2
gauravvvv commentedI have provided the patch, please verify if it is working or not.
Comment #3
gauravvvv commentedComment #4
shaktikbefore patch
The website encountered an unexpected error. Please try again later.
Drupal\Core\Asset\Exception\InvalidLibraryFileException: Invalid library definition in core/themes/busy/busy.libraries.yml: Duplicate key "css/style.css" detected at line 7 (near "css/style.css: {}"). in Drupal\Core\Asset\LibraryDiscoveryParser->parseLibraryInfo() (line 348 of core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php).

#2 patch is working fine, Moveing to RTBC.
Comment #6
stborchertThanks for your work. Committed to 8.x-1.x