coc-python icon indicating copy to clipboard operation
coc-python copied to clipboard

File already exists....but it doesn't!

Open holmescharles opened this issue 5 years ago • 2 comments

When I try to install coc-python (via :CocInstall coc-python), I get this error:

Install finished

- ✗ coc-python EEXIST: file already exists, mkdir '/home/chuck/.config/coc/extensions/node_
modules/coc-python'

But I've verified that the file was not there before. After the failed install, inspection of this path shows that coc-python is an empty file. But I think its supposed to be a directory.

holmescharles avatar Jun 14 '20 15:06 holmescharles

Have this issue on RHEL7/RHEL8 too.

Edit: Modifying ~/.config/coc/extensions/package.json and running npm install works as expected.

edge90 avatar Sep 17 '20 12:09 edge90

I have the same issue on Ubuntu 18.04 with an NFS-mounted home directory. Not sure if it is related to that. @edge90 What modifications did you do to make it work?

manuelmuehlig-HRI-EU avatar Oct 21 '20 08:10 manuelmuehlig-HRI-EU