alacritty-themes TypeError
See original GitHub issueFresh install using
npm i -g alacritty-themes
Getting the following error after running
alacritty-themes
/usr/local/lib/node_modules/alacritty-themes/index.js:40
].flat();
^
TypeError: [(intermediate value)(intermediate value)(intermediate value),[path.resolve(...),path.resolve(...)]].flat is not a function
at getAlacrittyConfig (/usr/local/lib/node_modules/alacritty-themes/index.js:40:5)
at Object.<anonymous> (/usr/local/lib/node_modules/alacritty-themes/index.js:46:17)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/usr/local/lib/node_modules/alacritty-themes/bin/cli.js:8:51)
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Show HN: Alacritty-themes CLI to set themes for alacritty
After selecting a theme it crashes with "TypeError: Cannot set property 'value' of undefined" in index.js:24.
Read more >[err_invalid_arg_type]: the "path" argument must be of type ...
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined at Object.
Read more >Alacritty Help : r/archlinux - Reddit
TypeError: Cannot read property 'items' of null at updateTheme (/usr/lib/node_modules/alacritty-themes/index.js:39:31)
Read more >Sorry for the trouble, it was a bug due to the file system path ...
Replies for: So it requires the user to create a "themes" directory and save all themes in ".yml" individual files. And the command...
Read more >picom transparency doesn't apply to alacritty (bspwm)
I have a fresh install of arch linux and am currently trying to theme the terminal (alacritty) and the transparency when I set...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rajasegar Wow, thanks a lot. But my command was a little bit tricky:
Thanks. A LOT of themes to select. Can be overwhelming.
Cheers!