Closed aspiiire closed 2 years ago
Did you configure the explorer.trash.command
option?
Nope, Fantastic it was really helpful, just for reference to other people.
I have added this line inside coc-settings.json
"explorer.trash.command": "trash %s"
I also had to install trash with brew install trash
since I am on a Mac device, And now everything work fine, nice π!
But I was wondering why I never had to set it up and it always worked out of the box, also in mac devices, what may be the issue?
I guess it could be some issue with the trash library. I found that it compiles an executable in macos (link). Maybe this library is not supported to run on your mac? Like M1 ARM CPU?
Okay, I found the answer, we need to upgrade the trash library https://github.com/sindresorhus/macos-trash/issues/15 . But the bad news is that trash migrated to node ESM after 8.0, coc-nvim may not support it, I will test it later. :cry:
Okay, I found the answer, we need to upgrade the trash library sindresorhus/macos-trash#15 . But the bad news is that trash migrated to node ESM after 8.0, coc-nvim may not support it, I will test it later. π’
Thanks for you help and thanks for your time, to be honest the most important thing is that You gave me a way to make it work. By the way, With m1 the air mac works properly it's only with the m1 pro that give this problem.
Describe the bug
I am unable to delete any type of file using coc-explorer; While navigating if I press df it gives me the following error "[coc.nvim] Error: spawn Unknown system error -86" ( I have used coc-explorer in many other pc's so I know that's working out of the box)
Result from CocInfo
Steps to reproduce Steps to reproduce the behavior:
Expected behavior
Should delete the file or folder