neoclide / coc-python

Python extension for coc.nvim, fork of vscode-python
574 stars 51 forks source link

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

Open holmescharles opened 4 years ago

holmescharles commented 4 years ago

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.

edge90 commented 3 years ago

Have this issue on RHEL7/RHEL8 too.

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

manuelmuehlig-HRI-EU commented 3 years ago

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?