Latest version of coc-yaml with new yaml-language-server crashes with Error: Cannot find module 'prettier'. Prettier is an optional dependency on yaml-language-server because of openshift internal reasons.
But I suppose for coc-yaml prettier is not optional because it's used for code formatting.
It's important for NixOS ecosystem because node2nix which is widely used in nixpkgs for node packages doesn't build optional dependencies by default (and to fix that just for coc-yaml some not pretty hacks would be required).
Latest version of coc-yaml with new yaml-language-server crashes with
Error: Cannot find module 'prettier'
. Prettier is an optional dependency on yaml-language-server because of openshift internal reasons. But I suppose for coc-yaml prettier is not optional because it's used for code formatting.It's important for NixOS ecosystem because node2nix which is widely used in nixpkgs for node packages doesn't build optional dependencies by default (and to fix that just for coc-yaml some not pretty hacks would be required).