Error on Restarting core

Hello,
I am a new user of HomeAssistant and have my 1st issue.
When trying to restart the core and it is not possible due to an error.

Error displayed is :
## Failed to restart Home AssistantCore

The system cannot restart because the configuration is not valid: Integration error: resources - Integration ‘resources’ not found.

When going to the log, the error is :
Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/init.py:598
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:17:37 (8 occurrences)
Last logged: 18:05:19

[140319031788976] The system cannot restart because the configuration is not valid: Integration error: resources - Integration ‘resources’ not found.
[140318735420336] The system cannot restart because the configuration is not valid: Integration error: resources - Integration ‘resources’ not found.
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 185, in handle_call_service
await hass.services.async_call(
File “/usr/src/homeassistant/homeassistant/core.py”, line 1495, in async_call
task.result()
File “/usr/src/homeassistant/homeassistant/core.py”, line 1530, in _execute_service
await handler.job.target(service_call)
File “/usr/src/homeassistant/homeassistant/components/hassio/init.py”, line 598, in async_handle_core_service
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Integration error: resources - Integration ‘resources’ not found.

I do not know what to do about that. Can you help me ?

Thanks

Post your configuration.yaml

the configuration.yaml is :

Configure a default setup of Home Assistant (frontend, api, etc)

default_config:

mobile app

mobile_app:

discovery:

Text to speech

tts:

  • platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

VELUX KLF 200

velux:
host: 192.168.1.xx
password: xxxxxxxx

packages

homeassistant:
packages: !include_dir_named packages

resources:

  • url: /local/apexcharts-card.js?v=1.10.0
    type: module

Remove everything from (and including) resources to the end. That is not supposed to be there.

It works.
Strange as those lines were needed for the apexcharts. But now it is working without.

thanks

Resources should be in configuration > lovelace > resources. (In the GUI)

Ok, Thanks for the rapid answer …