Scripts won't save

Trying to create a script for the first time and when I saved, it just disappeared. Tried a few times with same result. Finally went into file editor and found my attempts were actually in scripts.yaml. Is this a bug? Not sure what to do to gain access to the script for use.

I had the same issue, i had to add this line to configuration.yml:

script: !include scripts.yaml

i found this thread Scripts not saving - #24 by WallyR where the same problem was discussed. Like there i had hacs installed, but i removed it again.

I do have
default_config:
at the top of my configuration.yml. this should setup the system for scripts: Default Config - Home Assistant