rajasegar / alacritty-themes

:rainbow: :lollipop: Themes :candy: :heart_eyes: for Alacritty: A cross-platform GPU-accelerated Terminal emulator
MIT License
685 stars 70 forks source link

Error after pressing control + c #248

Open Bryan9995 opened 1 year ago

Bryan9995 commented 1 year ago

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

pressed control c in terminal

  1. Installation
  1. Run alacritty-themes
  1. See error

Expected behavior

A clear and concise description of what you expected to happen.

Somehow broke it pressing control + c. I get this error: backup file was created: /home/brett/.config/alacritty/alacritty.yml.1683059351612.bak /usr/local/lib/node_modules/alacritty-themes/node_modules/yaml/dist/Document-9b4560a1.js:676 if (this.errors.length > 0) throw new Error('Document with errors cannot be stringified'); ^

Error: Document with errors cannot be stringified at Document.toString (/usr/local/lib/node_modules/alacritty-themes/node_modules/yaml/dist/Document-9b4560a1.js:676:39) at String () at updateThemeWithFile (/usr/local/lib/node_modules/alacritty-themes/index.js:98:22) at updateTheme (/usr/local/lib/node_modules/alacritty-themes/index.js:117:10) at /usr/local/lib/node_modules/alacritty-themes/index.js:124:12

Operating System:

Add your alacritty.yml content

# your alacritty content here
![error](https://user-images.githubusercontent.com/63263447/235779633-0bd1f7af-8957-4eaf-8d34-cf68ad990997.png)

Screenshots

Add screenshots to help explain your problem.

Bryan9995 commented 1 year ago

I managed to get my theme back. But i still seem to receive this error.