coc-explorer: Error installing on Ubuntu 19.10
Firstly this is such an amazing plugin 🚀 thanks for building it 👍
I’ve tried it on a macbook and it installs and works fine without any issues, but I tried installing it on a laptop using ubuntu 19.10 and I’m getting errors trying to install it.
## versions
vim version: NVIM v0.5.0-dev
node version: v12.13.0
coc.nvim version: 0.0.74
term: tmux-256color
platform: linux
[coc.nvim] Installed extension: coc-explorer
[coc.nvim] Error on load extension coc-explorer from /home/username/.config/coc/extensions/node_modules/coc-explorer/lib/index.js: Error: Cannot find module 'trash'
Require stack:
- /home/username/.config/coc/extensions/node_modules/coc-explorer/lib/index.js
- /home/username/.config/coc/extensions/node_modules/coc-explorer/lib/index.js
I went into the coc-explorer directory to try and see what happens if I add the trash module manually and I get
Insufficient number of arguments or no entry found.
Alternatively, run 'webpack(-cli) --help' for usage info.
Hash: 9cd1ba0f17437bf8135b
Version: webpack 4.41.2
Time: 24ms
Built at: 11/02/2019 10:52:26
ERROR in Entry module not found: Error: Can't resolve './src' in '/home/username/.config/coc/extensions/node_modules/coc-explorer'
Not sure if this is the real underlying error or just a different thing. I’ve tried debugging this myself but I’m not very familiar with how coc extensions work, I’d appreciate any help
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 23 (12 by maintainers)
I got the same error on Debian stable, but this fixed it. (I actually ran
yarn add --ignore-scripts trash).